On Mon, 2009-04-13 at 12:43 +0200, Vincent Lefevre wrote:
> Package: sudo
> Version: 1.6.9p17-2
This code has changed significantly for version 1.7.0-1, now in
unstable. The man page for option -i now reads:
-i [command]
The -i (simulate initial login) option runs the shell
specified in the passwd(@mansectform@) entry of the target
user as a login shell. This means that login-specific
resource files such as .profile or .login will be read by
the shell. If a command is specified, it is passed to the
shell for execution. Otherwise, an interactive shell is
executed. sudo attempts to change to that user’s home
directory before running the shell. It also initializes
the environment, leaving DISPLAY and TERM unchanged,
setting HOME, SHELL, USER, LOGNAME, and PATH, as well as
the contents of /etc/environment on Linux and AIX systems.
All other environment variables are removed.
If you could try 1.7.0-1, I would be interested to know if the behavior you see
matches expectations set by the man page. It not, then I will certainly pursue
this further.
Bdale
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]