sourcing users's .profile

Matthew Hannigan mlh at
Thu Mar 14 20:32:51 EST 2002

Ken M Simpson wrote:
> 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".  
> ???

"me too"  :-)    Todd, does sudo have a wishlist or todo list?

More information about the sudo-users mailing list