Hi all,
I want to upgrade this module to support new parameters (user & pass) in windows_service.pp. This is required by the migration functionality in openstack_hyper_v as the service has to be executed as an AD user.
The basic steps to do this properly are:
- Give the privilege
SeServiceLogonRight to the given user.
- Add it to Administrators group (I'm not sure of this one, maybe it depends on the use case).
- Set the user data through
sc.exe.
The problem is that I don't know the way to automate giving SeServiceLogonRight to the user, other than using the external tool ntrights.exe (no shipped with Windows by default).
Said that, {@ppouliot, @vijaytripathi, @virmitio, @nickme} I'd appreciate your feedback on this... how to remove that dependency on ntrights? how can be done natively?
Hi all,
I want to upgrade this module to support new parameters (user & pass) in
windows_service.pp. This is required by the migration functionality inopenstack_hyper_vas the service has to be executed as an AD user.The basic steps to do this properly are:
SeServiceLogonRightto the given user.sc.exe.The problem is that I don't know the way to automate giving
SeServiceLogonRightto the user, other than using the external toolntrights.exe(no shipped with Windows by default).Said that, {@ppouliot, @vijaytripathi, @virmitio, @nickme} I'd appreciate your feedback on this... how to remove that dependency on ntrights? how can be done natively?