More questions about audit

Lev Serebryakov lev at FreeBSD.org
Wed Jun 29 15:11:24 UTC 2011


Hello, Freebsd-security.

 I'm grepping all sources for programs, which support audit and found
strange thing:

 find . -name '*.c*' -print | \
   grep -v -E '^./(sys|contrib/openbsm|tools/regression)' | \
   xargs grep -E "\<(audit|au_)"

 shows, that only login(1), su(1), id(1) and sshd(1) uses audit. And
 even sshd(8) raise question: it doesn't call setaudit(2)!

 Even more, such command doesn't show anything about user login via
 ssh:

 auditreduce -m AUE_login /dev/auditpipe0 | praudit

 Yes, I have "lo" class enabled for all users, and, yes,

 auditreduce -r USER /dev/auditpipe0 | praudit

 shows activity after login...

 What do I do wrong?


P.S. Maybe, here is more adequate list for BSM Audit questions?

-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-security mailing list