Change default debug user password to "debuguser"

This commit is contained in:
Daniil Baturin 2019-07-25 00:28:17 +07:00 committed by GitHub
parent 8c22ceead4
commit b75025546c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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!"