diff options
author | Daniil Baturin <daniil@baturin.org> | 2019-07-25 00:28:17 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-25 00:28:17 +0700 |
commit | b75025546cf8a0a889902ed6dbd8c2b86209b3c9 (patch) | |
tree | c6c7bc43400e08b5a82911fd7f5154e5e023cb18 | |
parent | 8c22ceead487b745d6b7c058c4d1c0a0eaa051c8 (diff) | |
download | vyos-build-b75025546cf8a0a889902ed6dbd8c2b86209b3c9.tar.gz vyos-build-b75025546cf8a0a889902ed6dbd8c2b86209b3c9.zip |
Change default debug user password to "debuguser"
-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!" |