[SERVER-12637] Startup warning when run as root Created: 06/Feb/14  Updated: 11/Jul/16  Resolved: 11/Sep/14

Status: Closed
Project: Core Server
Component/s: Diagnostics, Security
Affects Version/s: None
Fix Version/s: 2.7.7

Type: Improvement Priority: Major - P3
Reporter: Kevin Pulo Assignee: Amalia Hawkins
Resolution: Done Votes: 0
Labels: startup_warning
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:

 Description   

Since it's a bad idea on so many levels to run mongod and/or mongos as the root user, they should at least log a startup warning when uid == 0.



 Comments   
Comment by Githook User [ 11/Sep/14 ]

Author:

{u'username': u'hawka', u'name': u'Amalia Hawkins', u'email': u'amalia.hawkins@10gen.com'}

Message: SERVER-12637: log a startup warning when mongod/mongos is run as root.
Branch: master
https://github.com/mongodb/mongo/commit/a47da32cea1c07e2e1c23fa16499017fc665a38d

Generated at Thu Feb 08 03:29:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.