mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
sshpwd-profile-iiab.sh: localization stuff unused for now
This commit is contained in:
parent
7f32deed5c
commit
7c64f234d8
1 changed files with 3 additions and 3 deletions
|
@ -5,7 +5,7 @@
|
||||||
# ...invoked by /etc/xdg/lxsession/LXDE-pi/autostart which is customized by...
|
# ...invoked by /etc/xdg/lxsession/LXDE-pi/autostart which is customized by...
|
||||||
# https://github.com/iiab/iiab/blob/master/roles/iiab-admin/tasks/main.yml#L46-L50
|
# https://github.com/iiab/iiab/blob/master/roles/iiab-admin/tasks/main.yml#L46-L50
|
||||||
|
|
||||||
# For Localisation:
|
# For Localization/Translation: (use /usr/bin/gettext below if later nec!)
|
||||||
#export TEXTDOMAIN=Linux-PAM
|
#export TEXTDOMAIN=Linux-PAM
|
||||||
#. gettext.sh
|
#. gettext.sh
|
||||||
# https://github.com/raspberrypi-ui/pam/blob/master/etc/profile.d/sshpwd.sh
|
# https://github.com/raspberrypi-ui/pam/blob/master/etc/profile.d/sshpwd.sh
|
||||||
|
@ -38,7 +38,7 @@ check_user_pwd() {
|
||||||
|
|
||||||
if check_user_pwd "{{ iiab_admin_user }}" "g0adm1n"; then # iiab-admin
|
if check_user_pwd "{{ iiab_admin_user }}" "g0adm1n"; then # iiab-admin
|
||||||
echo
|
echo
|
||||||
echo $(/usr/bin/gettext "The published password is in use by user '{{ iiab_admin_user }}'.")
|
echo "The published password is in use by user '{{ iiab_admin_user }}'."
|
||||||
echo $(/usr/bin/gettext "THIS IS A SECURITY RISK - please run 'sudo passwd {{ iiab_admin_user }}' to change it.")
|
echo "THIS IS A SECURITY RISK - please run 'sudo passwd {{ iiab_admin_user }}' to change it."
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue