[Sunhelp] logging

Magnus Abrante sunhelp at sunhelp.org
Wed Nov 1 08:52:21 CST 2000


> | Dale,
> | you have to edit audit_user, audit_startup and audit_control file.
> | 
> | In audit_startup file put option argv ( New Line)and enable all in other two
> | files for perticular command that U need to audit.
> | 
> | Then you have to analyse the out put of auditreduce -u <user>|praudit .
> 
> I tried this, but it only managed to log users logged in on
> /dev/console. Perhaps I overlooked something. Is there a way to log users
> logged in on ptys, as well?

modify the shell ;)

My first thought was to do this in the shell, with something like a
duplicate history file or something, this might not be very good idea
since this history file would have to be writable by the user, an other
(i have to admit not to clever) idea would be to have the shell 
log every command thru something like syslog or similar :-).

That was the best idea i came up with so far, most shells do have
a history function, which should be usable for this purpose as well,
even if you would have to modify it a bit.

Then on the otherhand i don't know that much about BSM, it might be
solvable with that utility as well.

        //Magnus Abrante
/* This is my opinion and not the one of my empolyer */



More information about the SunHELP mailing list