From f2860f859ff6832b0c92d53734bde6400e0d7c5d Mon Sep 17 00:00:00 2001 From: A Holt Date: Mon, 15 Oct 2018 04:35:13 -0400 Subject: [PATCH] Update profile_ssh_warn.sh --- roles/iiab-admin/templates/profile_ssh_warn.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/iiab-admin/templates/profile_ssh_warn.sh b/roles/iiab-admin/templates/profile_ssh_warn.sh index 2b1361b60..f18f4a097 100755 --- a/roles/iiab-admin/templates/profile_ssh_warn.sh +++ b/roles/iiab-admin/templates/profile_ssh_warn.sh @@ -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 }