Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Auditing
@ 2004-01-20 16:05 dompie
  2004-01-22 23:03 ` Auditing Ann Majeske
  0 siblings, 1 reply; 3+ messages in thread
From: dompie @ 2004-01-20 16:05 UTC (permalink / raw)


Hi,

I have started Auditing on my Tru64 v5.1B system (after starting
Enhanced Security).
However, I think I am missing the point.
Basically, I only want to audit certain files (eg. /etc/passwd,
/etc/hosts).
I added the 'open' system call to the /etc/sec/rc_audit_event and in
the /etc/sec/fs_objects I only put '/etc/passwd' and '/etc/hosts'.
However, after a reboot, when I consult the audit log file using
audit_tool, I notice that every 'open' syscall has been logged,
resulting in very big audit log files (eg. a lot of /shlib/libc.so
entries)
I read the man and the security guide (from the web) but I am not
understanding it correctly I guess.

Can anyone tell me what to put in the 'etc/sec/rc_audit_events' and
'etc/sec/fs_objects' to only audit the '/etc/hosts' and '/etc/passwd'
file?

Any help really very much appreciated

Kris 

Here is the content of the 'rc_audit_events' file:
"
audit_start               succeed    fail
audit_stop                succeed    fail
audit_setup               succeed    fail
audit_log_creat           succeed    fail
audit_xmit_fail           succeed    fail
audit_reboot              succeed    fail
audit_log_overwrite       succeed    fail
audit_daemon_exit         succeed    fail
settimeofday              succeed    fail
ntp_adjtime               succeed    fail
utc_adjtime               succeed    fail
login                     succeed    fail
logout                    succeed    fail
auth_event                succeed    fail
connect                   succeed    fail
accept                    succeed    fail
bind                      succeed    fail
net_udp_stray_packet      succeed    fail
net_tcp_rejected_conn     succeed    fail
mount                     succeed    fail
unmount                   succeed    fail
setuid                    succeed    fail
setgid                    succeed    fail
setlogin                  succeed    fail
chroot                    succeed    fail
setsid                    succeed    fail
alternate setsid        succeed    fail
old creat               succeed    fail
link                      succeed    fail
mknod                     succeed    fail
symlink                   succeed    fail
mkdir                     succeed    fail
unlink                    succeed    fail
truncate                  succeed    fail
ftruncate                 succeed    fail
SystemV/unlink            succeed    fail
rmdir                     succeed    fail
chmod                     succeed    fail
chown                     succeed    fail
fchown                    succeed    fail
fchmod                    succeed    fail
lchown                    succeed    fail
utimes                    succeed    fail
rename                    succeed    fail
open                      succeed    fail
"

and the content of the '/etc/sec/fs_objects' file:
"
/etc/hosts
/etc/passwd
"

Also, these are the audit vars in the 'rc.config.common' file:
"
AUDITD_FLAG="-l /audit/auditlog -c syslog -o suspend"
export AUDITD_FLAG
AUDITMASK_FLAG="-s exec_argp:1 -s exec_envp:1 -s login_uname:1 -s
obj_sel:1 -s obj_desel:0 -s obj_selmod:0 -s objsel_ipc:1 -s cmd_name:0
 <  /etc/sec/rc_audit_events"
export AUDITMASK_FLAG
"


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-01-26 10:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-20 16:05 Auditing dompie
2004-01-22 23:03 ` Auditing Ann Majeske
2004-01-26 10:36   ` Auditing dompie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox