#6316 HIGH Never A: become_root is broken.
Zarro Boogs per Child
bugtracker at laptop.org
Fri Feb 1 13:16:01 EST 2008
#6316: become_root is broken.
---------------------+------------------------------------------------------
Reporter: cscott | Owner: mstone
Type: defect | Status: new
Priority: high | Milestone: Never Assigned
Component: distro | Version:
Resolution: | Keywords:
Verified: 0 | Blocking: 5537
Blockedby: |
---------------------+------------------------------------------------------
Changes (by cscott):
* blocking: => 5537
Comment:
Correction: 'sudo -i', like 'su -', explicitly asks for an environment
like 'initial login', which both sudo and su interpret to mean that
extraneous environment variables should be removed. become_root should
run 'sudo -s' if sudo exists, otherwise 'su' (without the dash). Really,
'become_root' should just be replaced by a symlink to /bin/su, if it must
exist at all.
--
Ticket URL: <http://dev.laptop.org/ticket/6316#comment:2>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list