Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Date: Thu, 16 Oct 2003 13:47:15 +0200 From: Corinna Vinschen To: cygwin AT sources DOT redhat DOT com Cc: cygwin AT cygwin DOT com Subject: Re: setreuid Message-ID: <20031016114715.GG28997@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT sources DOT redhat DOT com, cygwin AT cygwin DOT com References: <20031015105210 DOT GF18774 AT ata DOT cs DOT hacettepe DOT edu DOT tr> <20031016103723 DOT GA5542 AT ata DOT cs DOT hacettepe DOT edu DOT tr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031016103723.GA5542@ata.cs.hacettepe.edu.tr> User-Agent: Mutt/1.4.1i On Thu, Oct 16, 2003 at 01:37:25PM +0300, Baurjan Ismagulov wrote: > Hello, Corinna. > > Thank you for the prompt answer. > > On Wed, Oct 15, 2003 at 15:45:51, Corinna Vinschen wrote: > > > I'm trying to use tftp-hpa. Why does setreuid(1012, 1012) fail with > > > EPERM? Should I have any special privileges? > > Yes. > > I was unable to find this information, could you please mention these > privileges or a link describing them? I've found only > SeImpersonatePrivilege (needed for ImpersonateLoggedOnUser), which seems > to be not supported under XP. The problem with Windows permissions needed to switch user context has been discussed very often on this mailing list. And we have a bit of documentation under http://cygwin.com/cygwin-ug-net/ntsec.html. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/