delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/19/17:01:07

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <3925AAC1.212894F6@vinschen.de>
Date: Fri, 19 May 2000 22:57:37 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
Organization: Cygnus Solutions, a Red Hat Company
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin <cygwin AT sourceware DOT cygnus DOT com>, Ken Coleman <kcoleman AT yahoo DOT com>
Subject: All-clear: ssh/sshd/inetutils work on W9X

Oh, oh, oh...

As I mentioned yesterday I could get neither ssh nor sshd
nor telnetd/rlogind working on my 98 box correctly.

This was due to the fact that I made / (root dir)
to the home dir of my W98 user. As soon as I changed
the home dir to eg. /home/corinna all tools worked
"out of the box".

And sshd accepts RSA of course!

So, as a result of my own failure, I can give the following
hint:

DON'T LET / BE YOUR HOME DIR!!!

Set the environment variable HOME to your home dir and,
that's important for the tools, create a /etc/passwd with
one entry for you (eg. in my case):

	corinna::500:544::/home/corinna:/bin/sh

Use the above id's, UID 500, gid 544 because that are
always the id's for a W9X user.

Put your .ssh dir into that /home/yourname

W9X users can't use the login.exe that is part of the
inetutils package. They have to create an application or
a shell script named

	/usr/bin/login

with for example the following content:

	#!/bin/sh
	exec sh

Ken, would you mind to publish your version of the `login'
script as another example?

Hope, that helps,
Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019