delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/13/10:07:31

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
Message-Id: <4.3.1.2.20011113100254.02224a60@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Tue, 13 Nov 2001 10:06:25 -0500
To: "Mark Paulus" <commpg AT yahoo DOT com>, "Corinna Vinschen" <cygwin AT cygwin DOT com>
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: How do I figure out why LogonUserA is failing?
In-Reply-To: <200111131500.KAA20990@acestes-fe0.ultra.net>
References: <6049-Tue13Nov2001114158+0000-starksb AT ebi DOT ac DOT uk>
Mime-Version: 1.0

At 09:59 AM 11/13/2001, Mark Paulus wrote:
>So,
>
>If I understand this little diddy, one shouldn't just up and do a
>"login root"?  If that is the case, then what does one do to "become"
>another user?  I have gotten it to work by telnetting back to my machine
>and logging in as root that way, but that is rather "klunky", in my opinion.
>However, if that is the ONLY way to do it, then so be it.  It should be 
>documented as such, though.....

Corinna's explanation indicates that rlogin would work as well, if that
seems less "klunky" to you.

I believe that it's David's and Corinna's intention to document this 
issue in the FAQ.  Since David maintains the FAQ and does it in a notably
timely manner, I think you'll see something here soon.


>On Tue, 13 Nov 2001 11:41:58 +0000, David Starks-Browning wrote:
>
> >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/
>
>
>
>
>--
>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