Commit ad148ef769b6b80c290a0eb92ab6c0a8609d6455

Authored by Silvan Calarco
1 parent db55b47ae3
Exists in master

rootfs, rootfs-light: replace obsolete passwd --stdin usage with chpasswd

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

platforms/rootfs-light/post.inc.sh
... ... @@ -63,7 +63,7 @@
63 63 #_EOF
64 64  
65 65 # configure default liveuser password
66   -echo "openmamba" | chroot $MOUNTDIR passwd liveuser --stdin
  66 +echo "liveuser:openmamba" | chroot $MOUNTDIR chpasswd
67 67  
68 68 #prelink
platforms/rootfs/post.inc.sh
... ... @@ -68,7 +68,7 @@
68 68 #_EOF
69 69  
70 70 # configure default liveuser password
71   -echo "openmamba" | chroot $MOUNTDIR passwd liveuser --stdin
  71 +echo "liveuser:openmamba" | chroot $MOUNTDIR chpasswd
72 72  
73 73 #prelink