#6316 HIGH Never A: become_root is broken.
Zarro Boogs per Child
bugtracker at laptop.org
Sat Feb 2 15:10:06 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: |
---------------------+------------------------------------------------------
Comment(by AlbertCahalan):
"su -" (or maybe "exec su -" to save memory) is probably what people want.
It fixes PATH, runs root's login scripts (setting any custom prompt), etc.
The fact that the "-" option is not default is some kind of historical
wart. The command pasting is gross. Four alternatives:
a. Have the button just kill the shell, then just start up "su -" as the
new shell.
b. Create an "su -" tab. It could be created by default, but not selected
by default.
c. Require that the user type "su -" for root. This isn't much to type,
and it's worth learning. The activity could print instructions to the
terminal before starting the shell.
d. At start-up, ask the user to type "olpc" or "root". (if "root", invoke
"su -" as the shell)
--
Ticket URL: <http://dev.laptop.org/ticket/6316#comment:4>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list