#5537 HIGH Update.: Use sudo, not su, to get root.

Zarro Boogs per Child bugtracker at laptop.org
Thu Jan 10 08:00:29 EST 2008


#5537: Use sudo, not su, to get root.
---------------------+------------------------------------------------------
  Reporter:  cscott  |       Owner:  cscott  
      Type:  defect  |      Status:  new     
  Priority:  high    |   Milestone:  Update.1
 Component:  distro  |     Version:          
Resolution:          |    Keywords:          
  Verified:  0       |    Blocking:          
 Blockedby:          |  
---------------------+------------------------------------------------------

Comment(by erikos):

 I had two tickets (#5819, #5790) regarding the sugar-control-panel which
 were affected by the change to use sudo instead of su. I tested the
 preserving of the $SUGAR_PATH and that $HOME still points to /home/olpc in
 update.1-679 and joyride-1525. For the record - both were working fine.

 sidenote: when invoking a sudo command i can not auto-complete for
 example:

 {{{
    sudo sugar-cont[tab]
 }}}

 does not auto-complete. The bash-completion (141K) package solves this,
 which I tried on my F8 machine. Maybe worth an inclusion since the
 completion works as well for other cases like:
 {{{
    yum in[tab]
 }}}

 (even so in the case of 'yum install b[tab]' it takes a while to list the
 packages).

-- 
Ticket URL: <http://dev.laptop.org/ticket/5537#comment:30>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system



More information about the Bugs mailing list