Add FreeBSD build target - only with mgmt, SSH + users for now
This commit is contained in:
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Fixing permissions"
|
||||
chown root:wheel / /etc
|
||||
chown -R root:wheel /root
|
||||
chown -R ipng:ipng /home/ipng/
|
@ -0,0 +1,9 @@
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
echo "Fixing SSH permissions"
|
||||
chown -R root:wheel /etc/ssh
|
||||
chmod 600 /etc/ssh/ssh_host*key
|
||||
|
||||
echo "Restarting SSH"
|
||||
/etc/rc.d/sshd restart
|
Reference in New Issue
Block a user