mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-01-08 17:50:07 +01:00
parent
049ce96ae1
commit
2b42e8bd34
|
|
@ -13,11 +13,7 @@ rm -f /usr/lib/modules-load.d/pkcs8.conf
|
|||
|
||||
# Permissions
|
||||
chmod 700 /root
|
||||
chown root:root /root -R
|
||||
chmod 755 /etc/systemd/scripts/*
|
||||
chown root:root /etc/systemd -R
|
||||
chown root:root /etc/modprobe.d -R
|
||||
chown root:root /etc/{fstab,hostname}
|
||||
|
||||
# Configuration
|
||||
sed -i 's/#\(PermitRootLogin \).\+/\1yes\nAllowUsers root/' /etc/ssh/sshd_config
|
||||
|
|
|
|||
Loading…
Reference in a new issue