There are a several utilities to run as a different user (eg:
psexec) but all of them require the password for the respective user, even if you are already running with elevated privileges.
I'd like to achieve the following:
- I already have an elevated prompt (
- I'd like to execute a command (eg:
johnwithout typing/passing their password to the launcher utility.
For example, in Unix system you could just:
root@server:~# su - john