[SERVER-1225] Add --serviceUser and --servicePassword options to windows version of mongod Created: 11/Jun/10 Updated: 12/Jul/16 Resolved: 13/Jun/10 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Admin, Tools, Usability |
| Affects Version/s: | 1.4.0, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.5.2 |
| Fix Version/s: | 1.5.3 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Justin Dearing | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Windows |
||
| Participants: |
| Description |
|
I want to add two more options to mongod.exe that would be used with --install and --reinstall. They would be for configuring mongod to run as a windows service with reduced permissions. Each would take an argument. Both would be required. There would be two exceptions in which you could only specify the username and no password. Thous would be setting the service to run as Local Service (default, higher than administrator level services run at) or "Network Service" Also, in keeping with the Services MMC snapin behavior, if the user lacks the "login as a service" permission it will be granted it. |
| Comments |
| Comment by auto [ 14/Jun/10 ] |
|
Author: {'login': '', 'name': 'Justin Dearing', 'email': 'jdearing@mongodb.org'}Message: Improvements related to If you specify --serviceUser without specifying a domain .\ is prepended to the name. Also fixed a typo in the logging. |
| Comment by Justin Dearing [ 13/Jun/10 ] |
|
Some minor tweaking http://github.com/zippy1981/mongo/commit/f40bc2c7d60cb4ce6f6da01c631f5a6c7eaead51 |
| Comment by auto [ 13/Jun/10 ] |
|
Author: {'login': '', 'name': 'Justin Dearing', 'email': 'jdearing@mongodb.org'}Message: Implemented Mongod can now configure itself to start as a service running as a user other than LocalSService. In addition, I improved the messages and flow of service creation and removal. |
| Comment by Justin Dearing [ 12/Jun/10 ] |
|
done http://github.com/zippy1981/mongo/commit/429bbea3ebbb9219999a02caf40246797420c78b |