delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/08/12:08:45

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: Wed, 8 Jan 2003 10:53:40 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Erik Moreau <erik DOT moreau AT mcgill DOT ca>
cc: cygwin AT cygwin DOT com
Subject: Re: sshd/passwd
In-Reply-To: <5.2.0.9.0.20030108101508.00ae1ce8@staff.mcgill.ca>
Message-ID: <Pine.GSO.4.44.0301081048290.10883-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Wed, 8 Jan 2003, Erik Moreau wrote:

> Hi everyone,
>
> I'll do my best to be as clear as possible with my setup.
>
> I have installed Cygwin on my Win2k machine successfully. My goal is to
> setup sshd so that I may connect to work from home in a secure fashion. I
> have installed sshd and ran ssh-host-config with no problem. I try to run
> ssh-user-config but I get the following message:
>         emoreau AT CICHLID ~
> $ ssh-user-config
> /home/emoreau
> /home/emoreau is set in /etc/passwd as your home directory
> but it is not a valid directory. Cannot create user identity files.
>
> In my /etc/passwd I have the following:
> SYSTEM:*:18:544:,S-1-5-18::
> Administrators:*:544:544:,S-1-5-32-544::
> admin:unused_by_nt/2000/xp:500:513:Administrator,U-CICHLID\admin,S-1-5-21-1390067357-1677128483-1957994488-500:/home/admin:/bin/bash
> emoreau:unused_by_nt/2000/xp:1002:513:U-CICHLID\emoreau,S-1-5-21-1390067357-1677128483-1957994488-1002:/home/emoreau:/bin/bash
> erik:unused_by_nt/2000/xp:1000:513:Erik Moreau,U-CICHLID\erik,S-1-5-21-1390067357-1677128483-1957994488-1000:/home/erik:/bin/bash
> Guest:unused_by_nt/2000/xp:501:513:U-CICHLID\Guest,S-1-5-21-1390067357-1677128483-1957994488-501:/home/Guest:/bin/bash
> sshd:unused_by_nt/2000/xp:1001:513:sshd privsep,U-CICHLID\sshd,S-1-5-21-1390067357-1677128483-1957994488-1001:/var/empty:/bin/bash
> emoreau:unused_by_nt/2000/xp:1002:513:U-CICHLID\emoreau,S-1-5-21-1390067357-1677128483-1957994488-1002:/home/emoreau:/bin/bash
>
> I log in to the network with the user name "emoreau", but there is no UID
> assigned? I ran mkpasswd -l > /ect/passwd with no results. I know that I
> have two emoreau's. I'm going to delete the last one.
>
> Any help would be much appreciated.
>
> Thanks,
> Erik

Erik,

I may be restating the obvious here, but do you HAVE a directory named
/home/emoreau?  The error message seems to indicate that you don't.  In
that case creating it might do the trick.  In fact, logging in via ssh
using password authentication should result in running /etc/profile as
emoreau, which should create the directory if it doesn't exist.

If you do have it, is it owned by the user emoreau?  Is it writeable by
that user?  Is that the user that runs ssh-user-config?  If not, is
/home/emoreau writeable by the user that runs ssh-user-config?
	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!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


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