++ 30/07/01 08:26 -0700 - Harry Putnam:
> The following message is a courtesy copy of an article
> that has been posted to comp.unix.questions,comp.os.linux.security as well.
> 
> Setup single user home machine running Redhat linux 7.1
> Experimental things like trying special scripts out or security
> related ideas can be captured by setting a special user account and
> running typescript at login.  However this is somewhat awkward and
> a pita for various reasons.
> 
> I wondered if there is some handy way to record a login session by
> some other mechanism.  Something where it happens more seamlessly so I
> can login as the experimental user `exp' run my experiments and have a
> full log of everthing I did.  

how about:

  su - $USER -c command 1> output 2> errror

This requires you to be root, though. In general, 'su' and 'sudo' have
many options you will want to look into. But it is doable.

-- 
"I may be a monkey,     Crutcher Dunnavant 
 but I'm a monkey       <[EMAIL PROTECTED]>
 with ambition!"        Red Hat OS Development



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to