Help with sudo

Jones, Stephen SJones at psc.gov
Fri May 23 12:54:34 EDT 2003


Hi
 
    I'm lost and need help.  I am trying to replace su with sudo in an HP-UX
11.0 environment.  My problem is getting the environment set.  Currently
users logon to oracle directly or us su - oracle.  This setups a host of
aliases and environment variables.  How can I get the same environment with
sudo?
 
    I have tried using -H, -s with env -i ENV=...  and cannot get the
environment.  There has to be a way to do this.  Can someone please help.
 
Thanks,
 
Stephen


More information about the sudo-users mailing list