HOME environmental variable no long preserved with sudo by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
Fix Released
|
Medium
|
Steve Langasek | ||
Natty |
Fix Released
|
Medium
|
Steve Langasek |
Bug Description
Binary package hint: sudo
As discussed on ubuntu-devel in February https:/
sudo sh -c 'echo $HOME'
no longer returns the current users home directory rather it returns /root. This is a change in behavior from Maverick which kept $HOME.
The following debian bug contains information about why this is happening now - http://
Something should be done to ensure there isn't a regression and that $HOME is preserved by default.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: sudo 1.7.4p4-5ubuntu5
ProcVersionSign
Uname: Linux 2.6.38-8-server x86_64
NonfreeKernelMo
Architecture: amd64
CheckboxSubmission: fee5e196cb921cb
CheckboxSystem: 2a6f54df59af338
Date: Wed Apr 13 11:23:27 2011
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/zsh
SourcePackage: sudo
UpgradeStatus: Upgraded to natty on 2011-04-10 (2 days ago)
Related branches
summary: |
- HOME enviornmental variable no long preserved with sudo by default + HOME environmental variable no long preserved with sudo by default |
Regression in behavior vs. maverick; the Debian maintainer already tried to fix this once but it appears the fix was incomplete.