sourcing users's .profile

mackay at kodak.com mackay at kodak.com
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....

-Scott






"Todd C. Miller" <Todd.Miller at courtesan.com>@sudo.ws on 03/14/2002 08:46:24
PM

Sent by:  sudo-users-admin at sudo.ws


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


In message <3C914F43.9010204 at zip.com.au>
     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 sudo.ws>
For list information, options, or to unsubscribe, visit:
http://www.sudo.ws/mailman/listinfo/sudo-users







More information about the sudo-users mailing list