Hi fellow Monks,
I am working on a scheduling project, and we want to be able to run scripts on WinNT. The daemon we are running, is running under the system account, but the scripts should be ran as another user. On unix, this is very simple, and I just use the unix su command.
But on NT this is not so simple. Now my question is, has someone already written a routine that runs a process as nother user. I searched CPAN and this site, but found no examples on how to do this. There are modules like > Win32::Process and Win32::AuthenticateUser, but I cannot make the link between these two modules.
An NT port of su exists, but does not return the errorcode of the script.
IT Masters, Belguim