sudo changing environment variables
Tom Alsberg
alsbergt at zoopee.org
Tue May 7 15:00:19 EDT 2002
I found the answer - set_logname...
Sorry for bothering you,
-- Tom
On Tue, May 07, 2002 at 07:42:07PM +0300, Tom Alsberg wrote:
> Hi there.
>
> Is there, or will there be, a way to configure sudo not to change
> environment variables like LOGNAME, USER, MAILPATH, etc., except for
> patching the source?
> I think this would be a more sensible behaviour, and should at least
> be configurable to be that way...
>
> The way su doesn't change those variables, it seems more sensible, so
> that the user's environment is more preserved, and for example
> some applications use the preferences/rc files of the user issuing the
> su command (usually the desired behaviour), and RCS gets the author's
> correct identity...
>
> Best regards,
> -- Tom
>
> --
> Tom Alsberg - certified insane, complete illiterate.
> e-mail: <alsbergt at softhome.net>
> Homepage: http://www.cs.huji.ac.il/~alsbergt/
> * An idea is not responsible for the people who believe in it.
> ____________________________________________________________
> 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
--
Tom Alsberg - certified insane, complete illiterate.
e-mail: <alsbergt at softhome.net>
Homepage: http://www.cs.huji.ac.il/~alsbergt/
* An idea is not responsible for the people who believe in it.
More information about the sudo-users
mailing list