Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jan 2008 16:29:44 -0500
From:      "Kevin K" <kkutzko@teksavvy.com>
To:        "'Anjang Aki'" <mailman.msc@gmail.com>
Cc:        freebsd-security@freebsd.org
Subject:   RE: Tracking user's activity
Message-ID:  <000301c84cbd$6d81c450$48854cf0$@com>
In-Reply-To: <477A9BBA.3030703@gmail.com>
References:  <bcd996c30801011144w431ad591mbcdac9711732ac3e@mail.gmail.com> <477A9BBA.3030703@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
You could also just run the watch command in a screen session or even
daemonize it, if possible.


-----Original Message-----
From: owner-freebsd-security@freebsd.org
[mailto:owner-freebsd-security@freebsd.org] On Behalf Of Frank
Sent: Tuesday, January 01, 2008 3:00 PM
To: Anjang Aki
Cc: freebsd-security@freebsd.org
Subject: Re: Tracking user's activity

Anjang Aki wrote:
> Greetings,
>
> I've been looking for a proper way to to track down user's activity
> inside the shell as I'm helping my colleague to configure a web
> hosting and shell hosting server.
>
> Someone have referred me to this article --
> http://bsdtips.utcorp.net/mediawiki/index.php/Snoop which is using
> 'watch' commands to view user's activity once they logged in to the
> server
>
> I found that this 'watch' utility is very useful and are able to
> fulfill my needs but I can only be able to watch the activity once I'm
> logging to the server at the time the users are logging in.
>
> Is there is any way that logging user's activity can be done without a
> need for me to login at the server at the same time? Perhaps the
> activity can be logged into a file and I can read it later.
>
> Or is there is any other utility I can use just to monitor user's
> activity as the server is misused by a user previously and I don't
> want it to happen again in the future.
>
> Best regards,
>
>
>   

Hello!
You can use "script filename" and start doing your stuff. The user can 
press CTRL-D when he's finished doing his stuff so the content can be 
flushed to the file.

Happy new year,
Frank
_______________________________________________
freebsd-security@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"

__________ NOD32 2759 (20080101) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000301c84cbd$6d81c450$48854cf0$>