| From | Sent On | Attachments |
|---|---|---|
| Steve Ames | Sep 9, 2000 10:25 am | |
| Ben Smithurst | Sep 9, 2000 10:54 am | |
| Sheldon Hearn | Sep 11, 2000 4:52 am | |
| David Malone | Sep 11, 2000 6:31 am | |
| Visigoth | Sep 11, 2000 8:55 am |
| Subject: | Re: fwd: [root: security check] | |
|---|---|---|
| From: | Ben Smithurst (be...@FreeBSD.org) | |
| Date: | Sep 9, 2000 10:54:12 am | |
| List: | org.freebsd.freebsd-current | |
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 / be...@FreeBSD.org / PGP: 0x99392F7D
To Unsubscribe: send mail to majo...@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message





