Neill R on 1 Sep 2007 05:45:28 -0000


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

Re: [PLUG] .bash_history

  • From: "Neill R" <neill@nsyd.com>
  • To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
  • Subject: Re: [PLUG] .bash_history
  • Date: Sat, 1 Sep 2007 01:45:20 -0400
  • Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=kNgaDsUlJyB0hGrcc966oImpRATPm+y2+sUhSpxoPPp7rF0yCJs7HYJ1U6nvmintbfhNhxC87FDZVQyQApcWBghMdAR/pcXEoRsj878anw+MbGFEPR+xpuxfiWS45m5PaXwhu8HJWp2x4QhZoun2yLHlMwRRjZsEfN+go03WEXY=
  • Reply-to: neill@nsyd.com, Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

Anyone out there know how to do what Anthony suggested, "wrap bash with a "script"

Thanks
Neill



On 8/28/07, Antony P Joseph <antony@panathara.org> wrote:
wrap bash with "script". You can get everything a user does
On Tue, 2007-08-28 at 11:48 -0400, Neill R wrote:
> Typically, when a user logs into a system, their keyboard activity is
> recorded in .bash_history (if using bash)
>
> Is there a way I can record activity from a users shell but have it
> log to /root/session.txt for example.   The motive is strictly for
> curiosity sake, but I can see a need for auditing user activity in the
> future.
>
> Thanks in advance
> ___________________________________________________________________________
> 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

___________________________________________________________________________
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

___________________________________________________________________________
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