delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/13/06:43:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 13 Nov 2001 11:41:58 +0000
Message-ID: <6049-Tue13Nov2001114158+0000-starksb@ebi.ac.uk>
X-Mailer: emacs 20.7.1 (via feedmail 9-beta-7 I);
VM 6.92 under Emacs 20.7.1
From: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: Corinna Vinschen <cygwin AT cygwin DOT com>
Subject: Re: How do I figure out why LogonUserA is failing?
In-Reply-To: <20011113100434.A18765@cygbert.vinschen.de>
References: <200111122339 DOT PAA19144 AT cygnus DOT com>
<20011113100434 DOT A18765 AT cygbert DOT vinschen DOT de>

On Tuesday 13 Nov 01, Corinna Vinschen writes:
> LogonUser/CreateProcessAsUser need special user rights.  This rights
> are not given to user accounts, not even to admins.  Only SYSTEM has
> that user rights by default.  That's the reason that login only
> works when started from telnetd or rlogind, started from inetd which
> itself is running as service under SYSTEM account.
> 
> login(1) is not intended for use on the command line under Cygwin.
> 
> Shouldn't we create a FAQ for that?

There is already something about why there is no su, but it goes on to
say (indirectly) that login(1) may be a substitute.  I will amend it to
include the information you provide above.

(I don't know about this stuff myself, so I can't put it in the FAQ
until I get concise, pithy emails like this one.  Thanks Corinna!)

Cheers,
David


--
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