From eed813b2d1726b5b1022de8ff90ccb5f49d3f3f4 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Tue, 9 Feb 2010 20:31:15 +0000 Subject: xguest user does not has password, so ignore it --- cron-sh/scripts/05_access.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cron-sh/scripts') diff --git a/cron-sh/scripts/05_access.sh b/cron-sh/scripts/05_access.sh index 033aa6b..4fe5d82 100755 --- a/cron-sh/scripts/05_access.sh +++ b/cron-sh/scripts/05_access.sh @@ -65,7 +65,7 @@ fi ### Shadow password file Check if check_is_enabled "${CHECK_SHADOW}" ; then awk -F: '{ - if ( $2 == "" ) + if ( $2 == "" && $1 != "xguest" ) printf("\t\t- /etc/shadow:%d: User \"%s\" has no password !\n", FNR, $1); }' < /etc/shadow > ${MSEC_TMP} Filter ${MSEC_TMP} CHECK_SHADOW -- cgit v1.2.1