delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/16/07:47:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <corinna-cygwin AT cygwin DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019