Almost. The one thing that does not happen is to get a clean version of root's path. Does the env_reset option in /etc/sudoers fix this?
John On 01/23/02, 10:50:23PM -0500, John P Verel wrote: > 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