mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Update profile_ssh_warn.sh
This commit is contained in:
parent
0fce6306bf
commit
04fbf9cdbb
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ check_hash () {
|
|||
#test -n "${SHADOW}" || return 0
|
||||
#if echo $SHADOW | grep -q "iiab-admin:!" ; then return 0 ; fi
|
||||
#SHADOW_PW=$(echo $SHADOW | cut -d: -f2)
|
||||
#if [ "$SHADOW_PW" != '{{ iiab_admin_passw_hash }}' ]; then return 0 ; fi
|
||||
#if [ "$SHADOW_PW" != '{{ iiab_admin_pwd_hash }}' ]; then return 0 ; fi
|
||||
if check_user_pwd "iiab-admin" "g0adm1n"; 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 login as user 'iiab-admin' and run 'passwd' to change its password.\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue