From 3e4b660a95e2ee371955fd5c4213b0a63ac83068 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Wed, 21 Mar 2007 20:56:44 +0000 Subject: Some simple fixes and additions to the hardware database. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@791 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/initrd-stuff/etc/functions | 1 + 1 file changed, 1 insertion(+) (limited to 'initramfs/initrd-stuff/etc/functions') 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 } ############################################################################# -- cgit v1.2.3-55-g7522