diff options
Diffstat (limited to 'initramfs/initrd-stuff/etc/functions')
-rw-r--r-- | initramfs/initrd-stuff/etc/functions | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/initramfs/initrd-stuff/etc/functions b/initramfs/initrd-stuff/etc/functions index a16078f7..3dd3a530 100644 --- a/initramfs/initrd-stuff/etc/functions +++ b/initramfs/initrd-stuff/etc/functions @@ -621,6 +621,7 @@ cp /tmp/newpasswd /mnt/etc/passwd echo -e "root:"$root_pw":12958:0:10000::::" > /mnt/etc/shadow sed 's/:.*/:!:13078:0:99999:7:::/;/^root.*/d' /tmp/newpasswd \ >> /mnt/etc/shadow +chmod 0640 /mnt/etc/shadow } ############################################################################# |