I'm currently running my security onion master server on an old machine, and I'm planning to instead run the master server on a newer machine. Is there a way I can do it without having to re-run the setup on all the sensors?
I'm guessing I'd have to backup and migrate:
/etc/passwd
/etc/group
/etc/shadow
/etc/gshadow
Is there anything else I should backup, anything for salt?
I already know how to backup and migrate Snorby data - simply dumping the entire mysql "snorby" database and then restoring that have always worked fine for me.
Is there anything else I need to backup and migrate in order for the sensors to make a working connection to all SO systems?
Beyond this specific concern, I think I have a fairly good idea of what other configs to backup in order to keep my rules/thresholds/enabled or disabled services.
Thanks!
"while the old udev for the nics" I don't understand this part, can you please elaborate?
Sure I'll be glad to document and share the process, since I'll need to document it for myself anyway. Now that I've seen leesharp's suggestion though, I might go his way as it'll save me tons of time! Lee please see my reply to your reply, thanks! :)
Are /etc/salt/master and /etc/salt/minion the only salt configs I need to backup?
Or do I also need to backup these, from https://code.google.com/p/security-onion/wiki/Salt?
user accounts and sudoers in /opt/onionsalt/pillar/users/init.sls
user ssh keys in /opt/onionsalt/salt/users/keys/
For each user account in /opt/onionsalt/pillar/users/init.sls, you can add an SSH Public Key to /opt/onionsalt/salt/users/keys/USERNAME.id_rsa.pub (replacing USERNAME with the user's actual username)
NIDS rules in /etc/nsm/rules/ (Snort/Suricata/barnyard will automatically restart as necessary)
HIDS rules in /var/ossec/rules/local_rules.xml (OSSEC will automatically restart as necessary)
Bro scripts in /opt/bro/share/bro/policy/
I'm just going to back these up just in case I mess something up, plus it'll help for future regular backups.
On Tuesday, November 4, 2014 6:40:53 PM UTC-5, Doug Burks wrote: