diff options
Diffstat (limited to 'tools/cloud-init/99-debug-user.chroot')
-rwxr-xr-x | tools/cloud-init/99-debug-user.chroot | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cloud-init/99-debug-user.chroot b/tools/cloud-init/99-debug-user.chroot index 7b72f898..354b46ab 100755 --- a/tools/cloud-init/99-debug-user.chroot +++ b/tools/cloud-init/99-debug-user.chroot @@ -6,7 +6,7 @@ if [ $(id -u) -eq 0 ]; then echo "$username exists!" exit 1 else - pass=$(perl -e 'print crypt($ARGV[0], "password")' dKD3UKamS3MQ) + pass=$(perl -e 'print crypt($ARGV[0], "password")' debuguser) useradd -m -p $pass debuguser usermod -aG sudo debuguser [ $? -eq 0 ] && echo "User has been added to system!" || echo "Failed to add a user!" |