Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337299 - app-admin/sudo-1.7.4_p3 - sudo -s and sudo -i do not work at the same time
Summary: app-admin/sudo-1.7.4_p3 - sudo -s and sudo -i do not work at the same time
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-14 16:24 UTC by Doug Warner
Modified: 2010-10-12 13:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Warner 2010-09-14 16:24:56 UTC
With versions of sudo < 1.7.4 I could have local users that used both "sudo
-s" to preserve their home directory and "sudo -i" to get root's environment.
 With sudo >= 1.7.4 (1.7.4p3 currently) I'm having a hard time coming up with
the proper options to set to gain that functionality back.

If I set "Defaults env_keep += HOME" then "sudo -s" works, but "sudo -i"
doesn't (it doesn't get root's home directory).

Upstream provided a patch here:
http://www.sudo.ws/pipermail/sudo-users/2010-September/004479.html

Reproducible: Always

Steps to Reproduce:
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-12 13:11:25 UTC
I'm sincerely afraid this will have to wait for 1.7.5.