From owner-freebsd-questions Fri Jun 7 12:23:44 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA13510 for questions-outgoing; Fri, 7 Jun 1996 12:23:44 -0700 (PDT) Received: from alpha.dsu.edu (ghelmer@alpha.dsu.edu [138.247.32.12]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id MAA13504 for ; Fri, 7 Jun 1996 12:23:42 -0700 (PDT) Received: from localhost (ghelmer@localhost) by alpha.dsu.edu (8.7.5/8.7.3) with SMTP id OAA07241; Fri, 7 Jun 1996 14:23:26 -0500 (CDT) Date: Fri, 7 Jun 1996 14:23:26 -0500 (CDT) From: Guy Helmer To: Jouke Dijkstra cc: freebsd-questions@freebsd.org Subject: Re: [Fwd: skipper security check output] In-Reply-To: <31B800CC.41C67EA6@epsilon.nl> 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, 7 Jun 1996, Jouke Dijkstra wrote: > Now this is a little extreme.. Read about who had a problem > similar to this a little while ago, though he had it with only > some files, not a whole bunch like this. > > Could someone please explain what's going on? This system is > running 2.1 RELEASE. >From a quick look at the message, it appears that the formatting of the lines changed due to /bin/ls arbitrarily adjusting its format. I've noticed on my own systems, if I add/remove/change a setuid program, ls seems to decide to adjust the format of a bunch of lines because fewer/more columns are needed for the file size field, resulting in a large changes report from diff :-( Because xargs is used, ls is probably executed several times and as a result the format of only a section of the setuid file list changes. For my own use on systems that don't have BSD's -T option to ls, I've been working on a Perl replacement for /etc/security that includes its own ls-style functionality (with a static format for output). I haven't been brave enough to try it out on my systems, yet :-) Guy Helmer, Dakota State University Computing Services - ghelmer@alpha.dsu.edu