[Bugs] #2756 UNSP: "Become Root" button in Terminal Activity kills anything running in current Terminal session

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Mon Apr 4 16:41:56 EDT 2011


#2756: "Become Root" button in Terminal Activity kills anything running in current
Terminal session
------------------------------------------+---------------------------------
    Reporter:  greenfeld                  |          Owner:  sayamindu                  
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  Terminal                   |        Version:  0.92.x                     
    Severity:  Minor                      |       Keywords:                             
Status_field:  Unconfirmed                |   Distribution:  OLPC                       
   Seeta_dev:                             |  
------------------------------------------+---------------------------------
 The "Become Root" button in the Terminal Activity kills anything running
 in the currently active Terminal session window.

 I'm not so certain if this is a good idea or not.   Since all it does is
 run "su -", why can't we let people run "su" manually?

 A side effect is that if you exit the root shell prompt, the Terminal
 window closes.  This is somewhat unexpected if you were trying to get back
 to the normal user of the terminal.

 Reproduction:
  1. Run something which runs until exited like "top", etc. in a Terminal
 session.
  2. Press the "Become Root" button.  Whatever was previously running from
 Step 1 has been killed off, and you will have a Bash root shell prompt {or
 hopefully asked for the password to one if so configured for your system}.

 Seen with Terminal-31 in OLPC OS 11.2.0 os14.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/2756>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list