shell command history capturing

DrumhCl at BAM.com DrumhCl at BAM.com
Fri Mar 10 13:17:57 EST 2000


Why would you want to, when you could block su and make the user do a 

sudo -H -u USER command

or if you didn't want to type all that every time create a shell script with

sudo -H -u USER $@

You would then have all of the commands run as USER captured by sudo.
*********************************************************************
Ed Drumheller
Bell Atlantic Mobile
908-306-4209
Fax:  908-306-6480 Pager:  800-759-7243 Pin 2269958
Email:  drumhcl at bam.com
*********************************************************************


-----Original Message-----
From: Brett Hansen [mailto:brett at annis.com]
Sent: Friday, March 10, 2000 11:58 AM
To: Todd C. Miller
Cc: David Yates; sudo-users at courtesan.com; David Yates
Subject: Re: shell command history capturing


That would be very nice feature to add to sudo tho!

-Brett

"Todd C. Miller" wrote:
> 
> I'm afraid you can't do this with sudo.
> 
>  - todd

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Drumheller, Ed (E-mail).vcf
Type: application/octet-stream
Size: 228 bytes
Desc: not available
URL: </pipermail/sudo-users/attachments/20000310/d4f1f347/attachment.obj>


More information about the sudo-users mailing list