sourcing users's .profile
Todd C. Miller
Todd.Miller at courtesan.com
Fri Mar 15 11:53:21 EST 2002
In message <OFA81FD2DF.979503C7-ON85256B7D.00439233 at kodak.com>
so spake (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.
You can configure sudo 1.6.4 and higher to start programs with a
clean environment, choosing which variables to preserve.
More information about the sudo-users