Date: 02 Nov 1997 10:01:40 +0100 From: Jacob Bohn Lorensen <jacob@jblhome.ping.dk> To: Brandon Gillespie <brandon@roguetrader.com> Cc: Niall Smart <njs3@doc.ic.ac.uk>, freebsd-hackers@FreeBSD.ORG Subject: Re: Suggested addition to /etc/security Message-ID: <87vhybr7nv.fsf@pippin.jblhome.ping.dk> In-Reply-To: Brandon Gillespie's message of Sat, 1 Nov 1997 10:58:32 -0700 (MST) References: <Pine.BSF.3.96.971101105141.11936A-100000@roguetrader.com>
index | next in thread | previous in thread | raw e-mail
Brandon Gillespie <brandon@roguetrader.com> writes:
> On Sat, 1 Nov 1997, Niall Smart wrote:
> > On Oct 30, 10:18am, Brandon Gillespie wrote:
> > } Subject: Suggested addition to /etc/security
> > > find / -nouser -nogroup
> > Shouldn't this be "find / -nouser -o -nogroup -print"?
> files=`find / -nouser -o -nogroup -print`
> ls -ldF $files
> (this looks better than find / -nouser -o -nogroup -exec ls -ldF {} \;)
Please consider "find / -nouser -o -nogroup -ls"; this keeps
consistent columnization (?) and also saves a bunch of exec()
and stat() calls, not to mention the problems of calling ls from find
with file names including blanks and shell meta-characters.
--
Jacob Lorensen; Mosebuen 33, 1.; DK-2820 Gentofte, Denmark; +45-31560401
PGP ID = E596F0B5; PGP Fingerprint = 1E8726467436DC4A 723B6678C5AD9E71
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87vhybr7nv.fsf>
