Handle well-known account names.
authorIain Patterson <me@iain.cx>
Wed, 29 Jan 2014 20:30:55 +0000 (20:30 +0000)
committerIain Patterson <me@iain.cx>
Wed, 29 Jan 2014 20:37:35 +0000 (20:37 +0000)
commitcca8d28295ce27b7c996b47badc6a1e3a6a34e65
treee90c7d8cc0082b7f30441e6549e465478eaf1a6d
parentaece13df3cc7a17d5827cc59fc59c13538b52517
Handle well-known account names.

Certain well-known accounts can be used to start a service without
entering a password.

"LocalSystem" is the default value of ObjectName in the registry.  It is
not a real account but is an alias for the "NT Authority\System"
account.

"NT Authority\Local Service" has minimal local and no network
privileges.

"NT Authority\Network Service" has minimal local and network privileges.

NSSM now recognises these well-known accounts and will accept them as
ObjectName parameters without complaining that no password was enter.
With the exception of LocalSystem, each can be specified without the "NT
Authority" pseudo-domain prefix.
README.txt
account.cpp [new file with mode: 0644]
account.h [new file with mode: 0644]
gui.cpp
messages.mc
nssm.cpp
nssm.h
nssm.vcproj
service.cpp
service.h
settings.cpp