delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/05/25/00:07:39

X-Spam-Check-By: sourceware.org
Date: Fri, 25 May 2007 00:07:12 -0400 (EDT)
From: William Sutton <william AT trilug DOT org>
To: =?ISO-8859-1?Q?Ren=E9_Berber?= <r DOT berber AT computer DOT org>
Cc: cygwin AT cygwin DOT com
Subject: Re: password authentication fails in cygwin openssh windows xp pro
In-Reply-To: <f35mvj$nj3$1@sea.gmane.org>
Message-ID: <Pine.LNX.4.58.0705250005520.18442@dargo.trilug.org>
References: <4655A077 DOT 60407 AT gmail DOT com> <Pine DOT LNX DOT 4 DOT 58 DOT 0705241028510 DOT 18442 AT dargo DOT trilug DOT org> <4655A398 DOT 80504 AT u DOT washington DOT edu> <f354ln$t9h$1 AT sea DOT gmane DOT org> <4656341F DOT 2000603 AT u DOT washington DOT edu> <f35fgh$6vt$1 AT sea DOT gmane DOT org> <46565B7E DOT 906 AT u DOT washington DOT edu> <f35mvj$nj3$1 AT sea DOT gmane DOT org>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Although if you do want the standard bash dotfiles (.bashrc, 
.bash_history, .bash_profile), just copy them from /etc/skel to your new 
user directory and set owner/group based on the new user owner/group.

-- 
William Sutton


On Thu, 24 May 2007, René Berber wrote:

> Dan Miller wrote:
> 
> > Ok....Rene you are the woman! Thank you so much.
> 
> Er ... actually René is a male name, Renee is the female equivalent (I know,
> there is Rene Russo and others that have the wrong name, but what do they know,
> the name comes from France).
> 
> > I was sort of blowing
> > off the event log because it appeared that windows couldn't determine
> > what the problem was...but at the very end it said user dan not allowed
> > because shell /bin/bash is not executable. so I chmod 700 /bin/bash.exe
> > and I'm in!! It worked It actually worked!! :-) Any idea why this was
> > set up this way...doesn't seem to be a problem I've come across in other
> > peoples efforts to get this going.
> 
> No, I've never seen this, very strange.  I have 750 for bash's permissions
> (-rwxr-x---), your other user may have problems if both login at the same time.
> 
> >     Anyway, so now I can ssh into the computer as user dan which has a
> > local login etc. I want to add another user that has a user account on
> > the computer but is not allowed to login interactively to windows. Can
> > you tell me how to do that?
> 
> The user needs a password... and he might not have a home directory (on first
> login it is created by the shell).
> 
> > I can't seem to su within cygwin to rerun
> > ssh-user-config. How do I set up another user in cygwin and then switch
> > to that user and run the ssh-user-config script? I made a folder in the
> > home directory for the new user, but it doesn't have the standard bash
> > files. Thanks again!
> 
> The new user doesn't need to run ssh-user-config, that only creates the default
> ~/.ssh directory with some defaults, and the keys which are only necessary for
> public key authentication.  You can login as the second user as it is now, just
> make sure the home is the correct one, then he can run the script.
> 

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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