Matthew Rosewarne on 1 Sep 2007 06:07:46 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] .bash_history


On Saturday 01 September 2007, Neill R wrote:
> Anyone out there know how to do what Anthony suggested, "wrap bash with a
> "script"

"script" is a command that makes an exact log of all input and output to a 
terminal.  He was suggesting you set the users' shells to be run 
using "script" as to produce a log of their actions.  See the manual page 
for "script" for more info on it.

Presumably, you would write a shell script that runs a shell using 
the "script" command, and set it as the login shell for the users you want to 
monitor.

Attachment: signature.asc
Description: This is a digitally signed message part.

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug