runas without asking for a password
- by Gregory MOUSSAT
On a Windows server which is in a domain, I have a script I run from scheduled tasks.
I want this script to be run under a mydomain\peter user account. It is simple to do it with scheduled tasks, if you know Peter's password. And once done, the script stops when Peter decides to (or has to) change his password.
On Linux, a cron job can be run…