1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Update profile_ssh_warn.sh

This commit is contained in:
A Holt 2018-10-15 04:35:13 -04:00 committed by GitHub
parent 98ad5fc65c
commit f2860f859f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,8 +19,9 @@ check_hash () {
#SHADOW_PW=$(echo $SHADOW | cut -d: -f2)
#if [ "$SHADOW_PW" != '{{ iiab_admin_pwd_hash }}' ]; then return 0 ; fi
if check_user_pwd "iiab-admin" "{{ iiab_admin_published_pwd }}"; then
echo -e "\nSSH is enabled and the default password for the 'iiab-admin' user is unchanged."
echo -e "This is a security risk - please log in as user 'iiab-admin' and run 'passwd' to change its password.\n"
echo -e "\nSSH is enabled and the published password for user 'iiab-admin' is in use."
echo -e "THIS IS A SECURITY RISK - please log in as user 'iiab-admin' and run 'passwd'"
echo =e "to change its password.\n"
fi
}