Martin Wege via Cygwin wrote:
Hello,
Does Cygwin have a tool to run a bash script as SYSTEM user if my
account already have admin rights?
No (AFAIK).
I use psexec from Sysinternals tools
(https://learn.microsoft.com/sysinternals/downloads/psexec)
This starts a Cygwin terminal as SYSTEM user:
psexec -s -i c:\cygwin\bin\mintty -
--
Regards,
Christian
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple