On Fri, 02 Apr 1999 17:26:15 PST, Scott Michel wrote:

> Removing the "*" makes things work again, but the security check
> wails about a user w/o a password.

The entries should not use "*" in the first place. With regard to the
security check, see PR 9639 at:

        http://www.freebsd.org/cgi/query-pr.cgi?pr=9639

While no diffs are supplied with the PR, you could try the kludge below.
There's a very good reason why this 5-second abortion isn't attached to
the PR -- it's ugly. But it sounds like you care, so knock yourself out.
:-)

Ciao,
Sheldon.

Index: security
===================================================================
RCS file: /home/ncvs/src/etc/security,v
retrieving revision 1.29
diff -u -d -r1.29 security
--- security    1999/01/10 11:18:59     1.29
+++ security    1999/04/06 13:27:58
@@ -54,7 +54,7 @@
 
 separator
 echo "checking for passwordless accounts:"
-awk -F: '$2=="" {print $0}' /etc/master.passwd
+grep -v '^\+' /etc/master.passwd | awk -F: '$2=="" {print $0}'
 
 # show denied packets
 if ipfw -a l 2>/dev/null | egrep "deny|reset|unreach" > $TMP; then


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to