Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin AT cygwin DOT com To: Simon Whittaker cc: cygwin AT cygwin DOT com Subject: Re: adding users In-Reply-To: <019501c25d8e$bc4c2040$0f21000a@bizintra.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/