This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Volume Shadow Copy in SSHD connection


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]