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

Zarro Boogs per Child bugtracker at laptop.org
Mon Feb 4 12:59:55 EST 2008


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

Comment(by cscott):

 Replying to [comment:48 erikos]:
 > Just found out that 'sudo -i' fails because we try to change the
 directory to /root and the permissions for such an action do not suffice.

 Fixed in olpc-sudo 1.3.  In general, you should be using 'sudo -s' or
 plain 'sudo' though.  'sudo -i' gets rid of SUGAR_PATH, as a 'feature'.

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



More information about the Bugs mailing list