Need to log users command history
I need to be abble to log all commands that are typed in by a user.
Date, time, command and user need to be logged. If anyone knows how to turn this on or if I need to get a program I would appreciate the help. The OS's are Red Hat 9 and SCO OSR5 help with either would be good both would be great. Thanks, Steve |
|
Bash history will be written on logout, and linking it to /dev/null or using "set" to change HIST.* vars are workarounds. The first thing I'd like to know is why you want this and if you want to log *everything* or just shell sessions. Knowing that will make coming up with an appropriate solution easier.
|
All times are GMT -5. The time now is 09:31 PM. |