On Monday, Jul 21st 2008 at 14:25 -0000, quoth Shawn O'Shea:
=>
=>
=>
=> 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.
=>
=> 503 > sudo python
=> Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12)
=> [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on
=> linux2
=> Type "help", "copyright", "credits" or "license" for more
=> information.
=> >>> import os
=> >>> os.system('bash')
=> [EMAIL PROTECTED]:/home/sorr# echo $HOME
=>
=>
=>We starting "losing" some environment variables when we upgraded Macs
=>from OS X 10.4 to 10.5. 10.5 includes a new sudo that wipes the
=>environment other than specific variables it says to keep. We needed to
=>add lines to sudoers to keep our proxy server environment variables.
=>Maybe adding something like this would fix HOME?
=>
=>Defaults env_keep += "HOME"
=>
=>-Shawn
=>
I just upgraded to a 1.6.9 of sudo and the problem is fixed.
_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/