mattn / sudo

sudo for windows
MIT License
745 stars 41 forks source link

Elevate to NT Authority\SYSTEM #7

Open silverwind opened 7 years ago

silverwind commented 7 years ago

Would it be possible to have a switch to elevate to NT Authority\SYSTEM through psexec or similar tools? This privilege level is required for many things that Administrator cannot do, for example to install SSH hosts keys.

mattn commented 7 years ago

I don't make sure but pstools copy the sudo.exe, and run it on the remote server. If you use SID granted as administrator, UAC dialog will not be shown and will works expectedly.