delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/06/06:55:00

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" 1959)
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>
<m3pu2it2tb DOT fsf AT appel DOT lilypond DOT org>
<20020306114133 DOT V13590 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 12:53:33 +0100
In-Reply-To: <20020306114133.V13590@cygbert.vinschen.de> (Corinna Vinschen's
message of "Wed, 6 Mar 2002 11:41:33 +0100")
Message-ID: <m3lmd5ud36.fsf@appel.lilypond.org>
Lines: 28
MIME-Version: 1.0

Corinna Vinschen <cygwin AT cygwin DOT com> writes:

> No.  Did you read that article carefully?

Aparrently not, I'm sorry.

> I've wrote about special user rights needed...

Ok, so while using login instead of su is possible in some cases (it
seems windows xp is not one of them), easiest is using ssh.

Now, because ssh has a remarkably clumsy command line to be used as
su, maybe we can include or advise a script or alias like this:

   #!/bin/sh
   # su
   exec ssh $1@$(hostname)

or
   
   alias su='ssh $(hostname) -l'
   
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