[Bugs] #1623 UNSP: Sugar should refuse to run as root user

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Wed Dec 16 13:13:02 EST 2009


#1623: Sugar should refuse to run as root user
------------------------------------------+---------------------------------
    Reporter:  mchua                      |          Owner:  tomeu                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Fedora                     |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 Running Sugar as the root user can disable access to Sugar for all non-
 root users. This appears to be the result of files crucial to running
 Sugar being created/modified with permissions inaccessible to non-root
 users. See https://bugzilla.redhat.com/show_bug.cgi?id=547805#c3 for
 reference.

 Sugar should check to see if the user is root before starting; if the user
 is root, Sugar should refuse to run, and instead print an explanatory
 error message as to why this is the case and how the user can run sugar as
 a non-root user.

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


More information about the Bugs mailing list