Re: Volume Shadow Copy in SSHD connection

2011-03-23 Thread Bruno Galindro da Costa
Perfect Corinna! Perfect!!! Works great with "passwd -R"! 2011/3/22 Corinna Vinschen: > On Mar 22 09:37, Bruno Galindro da Costa wrote: >> Ok Corinna, thanks for return, but I don´t understand how can I call >> these methods. >> Is there a bash functions? > > The methods are built into the Cygwin

Re: Volume Shadow Copy in SSHD connection

2011-03-22 Thread Corinna Vinschen
On Mar 22 09:37, Bruno Galindro da Costa wrote: > Ok Corinna, thanks for return, but I don´t understand how can I call > these methods. > Is there a bash functions? The methods are built into the Cygwin DLL. seteuid is a system API called by sshd. You don't have to call any function yourself nor

Re: Volume Shadow Copy in SSHD connection

2011-03-22 Thread Bruno Galindro da Costa
Ok Corinna, thanks for return, but I don´t understand how can I call these methods. Is there a bash functions? bruno.galindro@SUNTECHDHFG1 ~ $ seteuid bash: seteuid: command not found As I understand, these are C / C++ methods available when I include these two libraries on my code header: #incl

Re: Volume Shadow Copy in SSHD connection

2011-03-22 Thread Corinna Vinschen
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

Re: Volume Shadow Copy in SSHD connection

2011-03-21 Thread Bruno Galindro da Costa
Corinna, I´m need to build a small C++ program to exec the "vssadmin list writers" with another user context at the remote host? Unfortunately, I´m not a C or C++ programmer. If possible, can you please help me to build a little program to exec the disired command? I know that the page have

Re: Volume Shadow Copy in SSHD connection

2011-03-21 Thread Corinna Vinschen
On Mar 21 14:53, Bruno Galindro da Costa wrote: > Hi! > >Why Volume Shadow Copy Service doesn´t works via sshd connection? Maybe the documentation helps: http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview Corinna -- Corinna Vinschen Please, send mails regar

Volume Shadow Copy in SSHD connection

2011-03-21 Thread Bruno Galindro da Costa
Hi! Why Volume Shadow Copy Service doesn´t works via sshd connection? If I execute the following command locally (in MS-DOS or Cygwin shell), the bellow result was printed: ### LOCAL: ### C:\>vssadmin list writers vssadmin 1.1 - Volume Shadow Copy Service administrative command-line