X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 22 Mar 2011 09:27:37 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Volume Shadow Copy in SSHD connection Message-ID: <20110322082737.GX31220@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20110321191904 DOT GV31220 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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