mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-03-20 02:44:37 +01:00
Merge branch 'dont-chown' into 'master'
customize_airootfs.sh: do not call chown See merge request fdupoux/sysresccd-src!9
This commit is contained in:
commit
aabe1e8d61
|
|
@ -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