summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-07-25 00:28:17 +0700
committerGitHub <noreply@github.com>2019-07-25 00:28:17 +0700
commitb75025546cf8a0a889902ed6dbd8c2b86209b3c9 (patch)
treec6c7bc43400e08b5a82911fd7f5154e5e023cb18 /tools
parent8c22ceead487b745d6b7c058c4d1c0a0eaa051c8 (diff)
downloadvyos-build-b75025546cf8a0a889902ed6dbd8c2b86209b3c9.tar.gz
vyos-build-b75025546cf8a0a889902ed6dbd8c2b86209b3c9.zip
Change default debug user password to "debuguser"
Diffstat (limited to 'tools')
-rwxr-xr-xtools/cloud-init/99-debug-user.chroot2
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!"