delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/04/16:29:05

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
From: "Rodrigo Serra" <rmserra AT fibertel DOT com DOT ar>
To: "'Pierre A. Humblet'" <Pierre DOT Humblet AT ieee DOT org>
Cc: <cygwin AT cygwin DOT com>
Subject: RE: su questions
Date: Fri, 4 Apr 2003 18:29:06 -0300
Message-ID: <000401c2faf1$38b3e050$0102a8c0@rmserra.com.ar>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3718.0
Importance: Normal
In-Reply-To: <3E8DF756.64918AEC@ieee.org>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h34LT5X16098

Pierre,

Yes work without "Act as part of the operating system".
In the next days I install a fresh Windows .net release and test again and
share the result.

Thank
Rodrigo

-----Mensaje original-----
De: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] En nombre de
Pierre A. Humblet
Enviado el: Viernes, 04 de Abril de 2003 06:21 p.m.
Para: Rodrigo Serra
CC: cygwin AT cygwin DOT com
Asunto: Re: su questions

Rodrigo Serra wrote:
> 
> Pierre
> 
> I create a new user named init, and assigned privileges "Act as part of
the
> operating system", "Create a token object", "Log on as service", and
> "Replace a process level token" and the ssh and su with no password prompt
> work!!!
> 
> I not understand what happened. In the documentation of openssh mentioned
> the necessary privileges and not indicate "Create a token object" but
> indicate "Increase quotas". This privileges not exists in my Windows .net
> 
> Well now setguid works in my Windows .net box.

Great. I don't think you need "Act as part of the operating system",
try removing it to increase security and let us know.
According to MS "Increase Quota" is needed for CreateProcessAsUser
<http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/ba
se/createprocessasuser.asp>
but your box seems to be special.

Pierre

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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