delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/16/11:44:39

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Mon, 16 Sep 2002 11:44:29 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Simon Whittaker <simonwhitt AT hotpop DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: adding users
In-Reply-To: <019501c25d8e$bc4c2040$0f21000a@bizintra.net>
Message-ID: <Pine.GSO.4.44.0209161139590.21486-100000@slinky.cs.nyu.edu>
MIME-Version: 1.0

On Mon, 16 Sep 2002, Simon Whittaker wrote:

> Thanks for the help earlier,
>
> Now have another question for you. I would like to add a user that can ssh
> in, however after adding the user in windows users and then adding them
> using mkpasswd to cygwin. I try to login - they are able to login but then I
> get /bin/bash permission denied error and get kicked off. Any ideas what I
> am doing wrong?
>
> Cheers
> Simon

Do you have "ntsec" as part of your CYGWIN environment variable?  If so,
do an 'ls -l /bin/bash' and make sure it's world-executable.  Do an 'ls
-ld /bin' and make sure it is world executable (and, preferably,
readable).  Also make sure all the relevant mounts are visible from ssh
(i.e. are type "system", rather than "user").
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


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