Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 16 Oct 2003 13:47:15 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@sources.redhat.com
Cc: cygwin@cygwin.com
Subject: Re: setreuid
Message-ID: <20031016114715.GG28997@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@sources.redhat.com, cygwin@cygwin.com
References: <20031015105210.GF18774@ata.cs.hacettepe.edu.tr> <20031016103723.GA5542@ata.cs.hacettepe.edu.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@cygwin.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/

