> "Shridhar Daithankar" <[EMAIL PROTECTED]> Wrote--- > On 23 Jul 2002 at 11:47, Hareesh Haridas wrote: > > is there a method in Linux by which ALL of the commands typed in > > by a user during a login session (either at the console or through > > telnet/ssh) can be logged into syslog or another file? the script > > command does it only if the user wishes, so there does not seem to be > > much control for an admin over it. > > > All such commands are logged in shell history file which depends upon user > shell. It's .bash_history for bash and .sh_history for sh/ksh, IIRC. > > Of course, root can read those files..
Doesn't always work.. if the person does 2 or more simultaneous logins then only the history of the last logged out shell is available. Kingsly -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
