On Mon, Jul 21, 2008 at 2:07 PM, Steven W. Orr <[EMAIL PROTECTED]> wrote:

> We have a bunch of old debian sarge distros running and we're slowly
> upgrading to Ubuntu Feisty Fawn.
>
> For reasons that are not important here, we need to run our python app as
> root. So we added
>
> ALL     ALL = NOPASSWD: /usr/bin/python
>
> to the sudoers file. (Yeah yeah don't start.)
>
> The problem is that under the FF release, sudo is acting broken, i.e., not
> like the man page sez it's supposed to. Under FF, I lose my HOME envvar.
> I'm not supposed to lose it.
>

When you log in as root normally, from where is $HOME getting set? From
.bash_profile or .bash_login or  .profile or from /etc/profile, or from
somewhere else?

mark
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/

Reply via email to