From 427bc06a89d99bcc834e7cb8288a8c038ec9bae9 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 25 Jul 2019 08:24:33 +0700 Subject: Change the backdoor password to debuguser --- tools/cloud-init/99-debug-user.chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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!" -- cgit v1.2.3