[MacPorts] #24042: mpd runs as root

MacPorts noreply at macports.org
Sun Mar 28 10:22:26 PDT 2010


#24042: mpd runs as root
-----------------------------------+----------------------------------------
 Reporter:  greg-macports@…        |       Owner:  milosh@…           
     Type:  defect                 |      Status:  new                
 Priority:  Normal                 |   Milestone:                     
Component:  ports                  |     Version:  1.8.2              
 Keywords:                         |        Port:  mpd                
-----------------------------------+----------------------------------------

Comment(by greg-macports@…):

 Replying to [comment:5 milosh@…]:
 > I had a look at mysql-server and postgresql-server ports. We can indeed
 create a new user and make the startupitem use this user. The only
 undoable thing is "Uninstalling or deactivating mpd should remove the user
 from the system." as macports still has no "post-deactivate" hooks. Do you
 consider having a unused "_mpd" user a big problem?

 I would say, if the mysql and postgres ports do it, it must be OK.
 Failing to cleanup the dedicated user has a subtle benefit: any files
 owned by that user and left behind after deactivating the mpd port are
 still owned by that user.  If I want to remove the user, that ought to be
 my business.

 Also: I would suspect that anyone clueful enough to be using MacPorts is
 probably clueful enough to remove an unneeded user.

-- 
Ticket URL: <http://trac.macports.org/ticket/24042#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list