sourcing users's .profile

Ken M Simpson Ken.Simpson at
Thu Mar 14 18:56:49 EST 2002

Has anyone figured out a "clean" method of sourcing the user's .profile 
(and /etc/profile) when running "sudo -s" under solaris 2.x (2.8  in my 
case) ?  There are a number of references to this problem in the sudo 
mailing list but none of them seem to have an answer. One could run 
"sudo su - uid" but that seems messy to me,  it defeat s the purpose of 
using sudo, which is to improve on "su".  

More information about the sudo-users mailing list