random pass
This commit is contained in:
parent
f60c096237
commit
0c7a1fb78f
2 changed files with 10 additions and 1 deletions
|
|
@ -30,4 +30,5 @@ PERM=$(stat -c '%U' /home/${USERNAME}/.config)
|
|||
|
||||
$RANDOM_PASS=`tr -dc A-Za-z0-9 </dev/urandom | head -c 13 ; echo ''`
|
||||
|
||||
echo abc:${RANDOM_PASS} | chpasswd
|
||||
echo abc:${RANDOM_PASS} | chpasswd
|
||||
usermod -s /bin/false abc
|
||||
Loading…
Add table
Add a link
Reference in a new issue