#5537 HIGH Update.: Use sudo, not su, to get root.
Zarro Boogs per Child
bugtracker at laptop.org
Sat Dec 22 02:18:10 EST 2007
#5537: Use sudo, not su, to get root.
---------------------+------------------------------------------------------
Reporter: cscott | Owner: ApprovalForUpdate
Type: defect | Status: new
Priority: high | Milestone: Update.1
Component: distro | Version:
Resolution: | Keywords:
Verified: 0 | Blocking:
Blockedby: |
---------------------+------------------------------------------------------
Comment(by AlbertCahalan):
Replying to [comment:18 cscott]:
> I don't have a strong preference, but sudo is already in joyride, and is
the precedent set in other distros (Ubuntu, Knoppix, Mac OSX). sudo takes
146k. We could plausibly ship a /usr/bin/sudo as a shell script which
invokes 'su -lc $1'
I think you want this:
{{{
#!/bin/bash
exec su -pc "$*"
}}}
(just tested, on my Debian box)
--
Ticket URL: <http://dev.laptop.org/ticket/5537#comment:20>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
More information about the Bugs
mailing list