sudo problems. anyone feeling up to it?
Mark Greene
prgrmr at gmail.com
Mon Jul 21 14:18:44 EDT 2008
On Mon, Jul 21, 2008 at 2:07 PM, Steven W. Orr <steveo at syslang.net> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20080721/1c32b094/attachment.html
More information about the gnhlug-discuss
mailing list