RE: Root shell with logging
- From: "Michael Velez" <mikev777@xxxxxxxxxxx>
- Date: Wed, 25 Apr 2007 05:07:16 -0400
Hi all,user has
due to security contraints I am looking for a shell that logs all
commands that are invoked by the user, in particular if the
become root. I found two (non-RedHat)good tool,
approaches: sudosh and rootsh. Sudosh seems to be a pretty
unfortunately it logs also passwords in clear-text format.Rootsh not
only logs keystrokes but also all the output to syslogd andfills up
our log files . So, both tools are not suitable for us. Atthe moment
we just copy the .bash_history file if a user logs out. But this is
not absolutely reliable.
Are there any other approaches? Could someone please point me to a
usable solution for this issue?
Thanks,
Oliver Fenker
I've never used rootsh myself but doesn't it have an option,
--no-syslog, which prevents logging to the syslog file? You
could recompile rootsh forcing the --no-syslog option. You
can find the source code in SourceForge.
HTH,
Michael
Actually, I quickly double-checked a suspicion I had. You can recompile the
code with logging to syslog disabled. Download the source code and run the
/configure command with the --disable-syslog option and then run a make.
That should do it.
Michael
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- References:
- Root shell with logging
- From: oliver . fenker
- RE: Root shell with logging
- From: Michael Velez
- Root shell with logging
- Prev by Date: RE: Root shell with logging
- Next by Date: linux as gateway backup
- Previous by thread: RE: Root shell with logging
- Next by thread: Re: Root shell with logging
- Index(es):