sourcing users's .profile

mackay at mackay at
Fri Mar 15 07:22:03 EST 2002

From: Scott D. MacKay

Will that wipe the old environment before also?  An admin problem we had
(which took a bit to dig into) involved using sudo instead of SU with the
LP service under Solaris 8.  The sudo retained the user environment and
when the admin restarted LP, the lpsched inherited all the env variables.
This plays havoc with the jetadmin (hppi) scripts....


"Todd C. Miller" <Todd.Miller at> on 03/14/2002 08:46:24

Sent by:  sudo-users-admin at

To:   Matthew Hannigan <mlh at>
cc:   Ken M Simpson <Ken.Simpson at>, sudo-users
      <sudo-users at>
Subject:  Re: sourcing users's .profile

In message <3C914F43.9010204 at>
     so spake Matthew Hannigan (mlh):

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

Yes, and that's already on it.  Basically the first entry in
the argument vector passed to the shell needs to start with '-'
for it to think it is a login shell.

  - todd
sudo-users mailing list <sudo-users at>
For list information, options, or to unsubscribe, visit:

More information about the sudo-users mailing list