Set an invalid password instead of deleting it
This commit is contained in:
parent
de9b62e764
commit
a89c9d9708
@ -85,7 +85,7 @@ build {
|
|||||||
<<EOF
|
<<EOF
|
||||||
groupadd -r ssh-user
|
groupadd -r ssh-user
|
||||||
usermod -aG ssh-user root
|
usermod -aG ssh-user root
|
||||||
passwd -d root
|
usermod -p '*' root
|
||||||
EOF
|
EOF
|
||||||
,
|
,
|
||||||
<<EOF
|
<<EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user