From 6821cae1d740abeec911b7323f3a10cfb4f54ff3 Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Thu, 3 Jul 2014 15:33:55 -0400 Subject: [PATCH] Set password to blank rather than the arbitrary 'phablet' --- live-build/ubuntu-touch/hooks/01-setup_user.chroot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/live-build/ubuntu-touch/hooks/01-setup_user.chroot b/live-build/ubuntu-touch/hooks/01-setup_user.chroot index 20883e13..254aa035 100755 --- a/live-build/ubuntu-touch/hooks/01-setup_user.chroot +++ b/live-build/ubuntu-touch/hooks/01-setup_user.chroot @@ -6,8 +6,8 @@ UGID=32011 echo "I: creating default user $USER" adduser --gecos $USER --disabled-login $USER --uid $UGID -echo "I: set user $USER password to $USER" -echo "$USER:$USER" | chpasswd +echo "I: set user $USER password to blank" +passwd -d $USER echo "I: allowing user to log in without password" gpasswd -a $USER nopasswdlogin