From owner-freebsd-hackers Sat Nov 1 07:16:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA23105 for hackers-outgoing; Sat, 1 Nov 1997 07:16:36 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from heron.doc.ic.ac.uk (Xtz2rLRStzhCeN8GnxdsDBM/MiKlwQcU@heron.doc.ic.ac.uk [146.169.2.31]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id HAA23098 for ; Sat, 1 Nov 1997 07:16:30 -0800 (PST) (envelope-from njs3@doc.ic.ac.uk) Received: from oak67.doc.ic.ac.uk [146.169.33.67] ([CKHIdwU7GQnCR9/4rXHyksYg/G+r7E28]) by heron.doc.ic.ac.uk with smtp (Exim 1.62 #3) id 0xRfHL-0007mV-00; Sat, 1 Nov 1997 15:15:59 +0000 Received: from njs3 by oak67.doc.ic.ac.uk with local (Exim 1.62 #3) id 0xRfGy-0003jZ-00; Sat, 1 Nov 1997 15:15:36 +0000 From: njs3@doc.ic.ac.uk (Niall Smart) Date: Sat, 1 Nov 1997 15:15:36 +0000 In-Reply-To: Brandon Gillespie "Suggested addition to /etc/security" (Oct 30, 10:18am) X-Mailer: Mail User's Shell (7.2.5 10/14/92) To: Brandon Gillespie , freebsd-hackers@freebsd.org Subject: Re: Suggested addition to /etc/security Message-Id: Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Oct 30, 10:18am, Brandon Gillespie wrote: } Subject: Suggested addition to /etc/security > I'm not sure if /etc/security is a good place for it, but I think it would > be a good idea to add this check (at least once a week) to somewhere: > > ------------------------------------------------- > echo "checking for invalid user or group ids:" > > find / -nouser -nogroup > ------------------------------------------------- Shouldn't this be "find / -nouser -o -nogroup -print"? Niall