diff options
-rw-r--r-- | polystrap/default/hooks/empty_password | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polystrap/default/hooks/empty_password b/polystrap/default/hooks/empty_password index 1c486137a..ce4f51582 100644 --- a/polystrap/default/hooks/empty_password +++ b/polystrap/default/hooks/empty_password @@ -1,2 +1,2 @@ sed -i 's/\(root:\)[^:]*\(:\)/\1'`openssl passwd -crypt -salt // "" | sed 's/\(\/\|\\\|&\)/\\\&/g'`'\2/' $ROOTDIR/etc/shadow -sed -i 's/\(PermitEmptyPasswords\) no/\1 yes/' $ROOTDIR/etc/ssh/sshd_config +sed -i 's/\(PermitEmptyPasswords\) no/\1 yes/' $ROOTDIR/etc/ssh/sshd_config || true |