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

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
Date: Wed, 6 Mar 2002 11:41:33 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: login: no shell: /bin/bash: Permission denied
Message-ID: <20020306114133.V13590@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <m3eliylhc2 DOT fsf AT appel DOT lilypond DOT org> <20020306101433 DOT P13590 AT cygbert DOT vinschen DOT de> <m3pu2it2tb DOT fsf AT appel DOT lilypond DOT org>
Mime-Version: 1.0
In-Reply-To: <m3pu2it2tb.fsf@appel.lilypond.org>
User-Agent: Mutt/1.3.22.1i

On Wed, Mar 06, 2002 at 11:20:48AM +0100, Jan Nieuwenhuizen wrote:
> 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?

No.  Did you read that article carefully?  I've wrote about
special user rights needed...

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

Either start an sshd service or start inetd and allow telnet or
rsh or rlogin.
Then you can easily change user context by ssh'ing, telnet'ing,
rsh'ing or rlogin'ing into your box under the other account.

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