Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Sep 1999 17:30:38 -0700 (PDT)
From:      Doug <Doug@gorean.org>
To:        peter.jeremy@alcatel.com.au
Cc:        FreeBSD-bugs@FreeBSD.ORG
Subject:   Re: bin/13909: /etc/security problems: IPFIREWALL and passwd comments
Message-ID:  <Pine.BSF.4.10.9909221722370.31986-100000@dt014nb6.san.rr.com>
In-Reply-To: <99Sep23.080649est.40380@border.alcanet.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Sep 1999, Peter Jeremy wrote:

> 	/etc/security (normally run nightly) incorrectly reports '#' as
> 	a passwordless account, and if the kernel does not include
> 	IPFIREWALL, it reports '[: 0: unexpected operator'

> 	1) Ignore comment lines in /etc/master.passwd when checking
> 	   for passwordless accounts.
> 	2) Put reference to ${IPFW_LOG_LIMIT} inside quotes so the
> 	   test becomes [ 1 -eq 0 -a "" -ne 0 ], rather than
> 	   [ 1 -eq 0 -a -ne 0 ] if net.inet.ip.fw.verbose_limit
> 	   does not exist (ie if IPFIREWALL not in kernel).

	Thank you for sending this PR. I spotted this a while ago and
fixed the IPFW problem locally, but I haven't had a chance to check out
the awk stuff (life's been very hectic lately). Your patch is definitely
correct for the IPFW bit, and unless I'm mistaken the awk bit is right as
well. The current awk bit ignores blank lines so I don't see that as a
problem. 

Thanks again,

Doug
-- 
"My mama told me, my mama said, 'don't cry.' She said, 'you're too young a man
to have as many women you got.' I looked at my mother dear and didn't even
crack a smile. I said, 'If women kill me, I don't mind dyin!'" 

    - John Belushi as "Joliet" Jake Blues, "I Don't Know"




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909221722370.31986-100000>