On Mar 21 17:56, Bruno Galindro da Costa wrote: > Corinna, > > I´m need to build a small C++ program to exec the "vssadmin list > writers" with another user context at the remote host?
Huh? No, of course not. As the document describes, all of the methods are implemented in the Cygwin DLL as part of the seteuid system call. You just have to choose which one you want to use. > but I need to acomplish the > "Method 1" and this method needs the "NtCreateToken" function that I > don´t know how to use... You don't have to. It's all in the Cygwin DLL. You should really read all of the text. It explains how to use the other methods. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple