nu774 / sudo-for-cygwin

poor sudo clone for cygwin
http://sites.google.com/site/qaacpage/
72 stars 17 forks source link

netstat -b does not run as elevated. #5

Closed T-G-U closed 9 years ago

T-G-U commented 9 years ago

tgu bin $ ./sudoserver.py -nw & [1] 11684 tgu bin $ tgu bin $ sudo netstat -b Accepted connection from ('127.0.0.1', 63778) The requested operation requires elevation. FIN received Closing connection tgu bin $

BTW, '-nw' switch does not do its job, output from server is still send to terminal (as shown above - test has been done in the same terminal session).

nu774 commented 9 years ago

Have you read the doc? You have to run sudoserver.py with elevated privileges.