Thanks, Ed.  Now, off to read the sudo man page :)

On 01/23/02, 09:33:29PM -0600, Ed Wilts wrote:
> rpm -qi sudo
> 
> To do what you want, add the user into /etc/sudoers with the appropriate
> access, and type:
> 
> $ sudo -s
> 
> You'll find that your default directory has not changed, and you're using
> your own .bash_history.  However, it re-reads your .bash_history for your
> new shell, and it seems like the current history hasn't been written to that
> yet, so it may not be quite perfect for what you want.  You could combine
> that with a history write as so:
> 
> $ history -w ; sudo -s
> 
>     .../Ed
> 
> Ed Wilts
> Mounds View, MN, USA
> mailto:[EMAIL PROTECTED]
-- 
John P. Verel
Living Proof That Low Tech Beats High Tech!



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

Reply via email to