[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive May 2004 ]

Re: [edlug] Checking Users Bash History



 --- Steve Kemp <edlug@xxx.xxx.xxx> wrote: > 
> On Tue, May 04, 2004 at 11:16:48AM +0100, Peter 
> George wrote:
> 
> > How can I check the last few bash commands of a
> particular user on my
> > server?
> 
>   Look at their .bash_history file, if it exists and
> hasn't been removed
>  or editted.

That won't work if they're currently logged in,
because the history file is normally only updated on
logout.

-- 
Caitlin Ross
http://www.joannou.net/topofthestairs/

-
----------------------------------------------------------------------
You can find the EdLUG mailing list FAQ list at:
http://www.edlug.org.uk/list_faq.html



This archive is kept by wibble@morpheux.org.DONTSPAMME
homepage