From 2b42e8bd3462caaf887a5f5d75aacaaeee818432 Mon Sep 17 00:00:00 2001 From: Marcos Mello Date: Thu, 5 Mar 2020 21:23:19 -0300 Subject: [PATCH] customize_airootfs.sh: do not call chown Unnecessary since a90fbcbf6f155e8d5720c317d209fa16b10cb018 --- airootfs/root/customize_airootfs.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/airootfs/root/customize_airootfs.sh b/airootfs/root/customize_airootfs.sh index 06745e8..3c50709 100755 --- a/airootfs/root/customize_airootfs.sh +++ b/airootfs/root/customize_airootfs.sh @@ -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