FreeBSD Bugzilla – Attachment 8120 Details for
Bug 17155
Add mount(8) check to /etc/security
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 780 bytes, created by
Crist J. Clark
on 2000-03-03 21:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Crist J. Clark
Created:
2000-03-03 21:10:00 UTC
Size:
780 bytes
patch
obsolete
>--- /usr/src/etc/security Tue Dec 21 04:46:02 1999 >+++ security Fri Mar 3 15:56:52 2000 >@@ -48,6 +48,21 @@ > mv $TMP $LOG/setuid.today > fi > >+if mount | sed 's/, writes: [^\)]*//' > $TMP; then >+ if [ ! -f $LOG/mount.today ]; then >+ separator >+ echo "no $LOG/mount.today" >+ cp $TMP $LOG/mount.today >+ fi >+ if cmp $LOG/mount.today $TMP >/dev/null 2>&1; then :; else >+ separator >+ echo "$host changes in mounted filesystems:" >+ diff -b $LOG/mount.today $TMP >+ mv $LOG/mount.today $LOG/mount.yesterday >+ mv $TMP $LOG/mount.today >+ fi >+fi >+ > separator > echo "checking for uids of 0:" > awk -F: '$3==0 {print $1,$3}' /etc/master.passwd
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 17155
: 8120 |
8121