delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/06/05:21:10

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
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Draft-From: ("nnmh:indoos.cygwin" 1953)
To: cygwin AT cygwin DOT com
Subject: Re: login: no shell: /bin/bash: Permission denied
References: <m3eliylhc2 DOT fsf AT appel DOT lilypond DOT org>
<20020306101433 DOT P13590 AT cygbert DOT vinschen DOT de>
Organization: Jan at Appel
Mail-Followup-To: cygwin AT cygwin DOT com
From: Jan Nieuwenhuizen <janneke AT gnu DOT org>
Date: Wed, 06 Mar 2002 11:20:48 +0100
In-Reply-To: <20020306101433.P13590@cygbert.vinschen.de> (Corinna Vinschen's
message of "Wed, 6 Mar 2002 10:14:33 +0100")
Message-ID: <m3pu2it2tb.fsf@appel.lilypond.org>
Lines: 45
MIME-Version: 1.0

Corinna Vinschen <cygwin AT cygwin DOT com> writes:

>> ?  But it worked anyway, so it seems.  This is on a fresh, curr cygwin
>> install.
>
> No, it didn't work.
>
> The problem you're seeing results from your inability to change
> the user context.  You can't do it, your account doesn't have the
> permission.

Ok, thanks, you're right:

    fred AT ABBICCI ~$ login root
    Password:
    Last login: Tue Mar  5 23:27:42 on tty2
    Fanfare!!!
    You are successfully logged in to this server!!!
    login: no shell: /bin/bash: Permission denied
    fred AT ABBICCI ~$ id
    uid=1009(fred) gid=513(Geen)
    groups=0(Iedereen),513(Geen),545(Gebruikers)

>  That's normal.

Hmm, so much for google.  You adviced to use login before,

  http://www.cygwin.com/ml/cygwin/2001-03/msg00337.html

have things changed since then?

> See /usr/doc/Cygwin/login.README.

  Under NT/2K/XP, login(1) is _not_ supposed to work on the command line
  to change user context!  Though you're able to tweak user permissions
  to get login(1) working that way, that's NOT officially supported.
  
Ok, so how *do* you change user context?

Greetings,
Jan.

-- 
Jan Nieuwenhuizen <janneke AT gnu DOT org> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org


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