disable PAM in sshd_config

This commit is contained in:
parazyd 2017-09-14 13:54:30 +02:00
parent 1ca4b0e3ab
commit b95bc3d143
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 3 additions and 3 deletions

View File

@ -192,9 +192,9 @@ for i in users ; do
gpasswd -a decode \$i
done
# TODO: revise a rootfs-overlay
printf "if [ -d "/usr/local/go/bin" ]; then\n\tPATH="/usr/local/go/bin:\$PATH"\nfi\n" \
>> /home/decode/.profile
sed -e 's/UsePAM yes/UsePAM no/' -i /etc/ssh/sshd_config
## misc
rm -rf /usr/local/share/zsh/site-functions