disable PAM in sshd_config
This commit is contained in:
parent
1ca4b0e3ab
commit
b95bc3d143
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue