Initial commit
This commit is contained in:
10
profile.d/sshpwd.sh
Normal file
10
profile.d/sshpwd.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
export TEXTDOMAIN=Linux-PAM
|
||||
|
||||
. gettext.sh
|
||||
|
||||
if [ -e /run/sshwarn ] ; then
|
||||
echo
|
||||
echo $(/usr/bin/gettext "SSH is enabled and the default password for the 'pi' user has not been changed.")
|
||||
echo $(/usr/bin/gettext "This is a security risk - please login as the 'pi' user and type 'passwd' to set a new password.")
|
||||
echo
|
||||
fi
|
||||
Reference in New Issue
Block a user