From owner-freebsd-questions Fri Jan 17 06:44:22 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id GAA05726 for questions-outgoing; Fri, 17 Jan 1997 06:44:22 -0800 (PST) Received: from cs.iastate.edu (cs.iastate.edu [129.186.3.1]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id GAA05721 for ; Fri, 17 Jan 1997 06:44:17 -0800 (PST) Received: from storm.cs.iastate.edu (storm.cs.iastate.edu [129.186.3.7]) by cs.iastate.edu (8.7.4/8.7.1) with ESMTP id IAA26278; Fri, 17 Jan 1997 08:44:14 -0600 (CST) Received: from localhost (ghelmer@localhost) by storm.cs.iastate.edu (8.7.4/8.7.1) with SMTP id IAA10943; Fri, 17 Jan 1997 08:44:13 -0600 (CST) X-Authentication-Warning: storm.cs.iastate.edu: ghelmer owned process doing -bs Date: Fri, 17 Jan 1997 08:44:11 -0600 (CST) From: Guy Helmer To: Will Mitayai Keeso Rowe cc: freebsd-questions@freebsd.org Subject: Re: vapour security check output In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Fri, 17 Jan 1997, Will Mitayai Keeso Rowe wrote: > An annoying thing about security check is that if there are ' or spaces > in file names or directories (i deal with MAC people... sigh) you get > lots of error messages. The one i've included is from a system that only > has a few. I have 154 at last count, so i didn't want to overload the > net with my example. :) > > Anyone know of a nice way of fixing this, and if so do you think it's > something that could be/should be included in the standard distribution > (if it already isn't since i last did a make world recently)? Last summer I wrote a Perl script replacement for /etc/security that avoids using "ls" and generates ls-like output using a fixed format. I never got around to testing it (I left my sysadmin job) but I'd be willing to share it with anyone adventureous enough to want to try it... It might just be able to handle filenames with spaces in them, although (since it still uses "find", but that could be coded directly in Perl as well) it may produce some of the same error messages. Guy Helmer, Computer Science Grad Student, Iowa State - ghelmer@cs.iastate.edu http://www.cs.iastate.edu/~ghelmer Looking for a stable, standard & free UNIX-like O/S? http://www.freebsd.org