[arch-releng] [PATCH 2/3] [configs/releng] Set a default passwd for root and arch users

Gerardo Exequiel Pozzi vmlinuz386 at yahoo.com.ar
Thu Oct 25 22:32:15 EDT 2012


Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386 at yahoo.com.ar>
---
 configs/releng/root-image/root/customize_root_image.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configs/releng/root-image/root/customize_root_image.sh b/configs/releng/root-image/root/customize_root_image.sh
index cc47845..20d553c 100755
--- a/configs/releng/root-image/root/customize_root_image.sh
+++ b/configs/releng/root-image/root/customize_root_image.sh
@@ -9,8 +9,10 @@ ln -sf /usr/share/zoneinfo/UTC /etc/localtime
 
 usermod -s /bin/zsh root
 cp -aT /etc/skel/ /root/
+echo "root:root" | chpasswd
 
 useradd -m -p "" -g users -G "adm,audio,floppy,log,network,rfkill,scanner,storage,optical,power,wheel" -s /bin/zsh arch
+echo "arch:arch" | chpasswd
 
 chmod 750 /etc/sudoers.d
 chmod 440 /etc/sudoers.d/g_wheel
-- 
1.8.0



More information about the arch-releng mailing list