Date: Sat, 9 Sep 2000 18:54:34 +0100 From: Ben Smithurst <ben@FreeBSD.org> To: Steve Ames <steve@virtual-voodoo.com> Cc: freebsd-current@freebsd.org Subject: Re: fwd: [root: security check] Message-ID: <20000909185434.C77593@strontium.scientia.demon.co.uk> In-Reply-To: <20000909122528.A88592@virtual-voodoo.com> References: <20000909122528.A88592@virtual-voodoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Steve Ames wrote: >> virtual-voodoo.com changes in mounted filesystems: >> 6d5 >> < /dev/ad1s1g /source ufs rw 0 2 >> 8a8 >>> /dev/ad1s1g /source ufs rw 0 2 > > Got this is this morning's security check. This doesn't really > show a change. The actual change was from normal to soft-updates. > > Any way this can show what actually changed? 'mount -p' (which > /etc/security uses) doesn't show things such as soft-updates. In > fact I don't see a single mount option that does show everything... This is because the filesystem just moved in the mount list. I've seen this a few times. The fix is trivial, I think: --- security 2000/08/07 09:08:35 1.41 +++ security 2000/09/09 17:38:26 @@ -64,7 +64,7 @@ # Show changes in the way filesystems are mounted # [ -n "$ignore" ] && cmd="egrep -v ${ignore#|}" || cmd=cat -if mount -p | $cmd > $TMP; then +if mount -p | $cmd | sort > $TMP; then if [ ! -f $LOG/mount.today ]; then separator echo "no $LOG/mount.today" -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000909185434.C77593>