delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/14/21:05:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
From: ericblake AT comcast DOT net (Eric Blake)
To: guettich AT t-online DOT de, cygwin AT cygwin DOT com
Cc: Ulrich Güttich <guettich AT t-online DOT de>
Subject: Re: rlogin to xp home edition
Date: Mon, 15 Aug 2005 01:05:04 +0000
Message-Id: <081520050105.16510.42FFEA3F000E7A560000407E22007340760A050E040D0C079D0A@comcast.net>
X-Authenticated-Sender: ZXJpY2JsYWtlQGNvbWNhc3QubmV0

> Hallo,
> 
> (i hope this is the correct forum to this question)

Yep

> 
> I have a XP home edition running using cygwin and the inetd package. I have 
> created /etc/passwd and /etc/group as described. The only user (and there is 
> only one at an XP home edition with usable privileges) is called otto. I can 
> rlogin to this client using the account otto and his password. Everything 
> okay.
> 
> What I do not understand is: where do the strange uid and gid (e.g. mkpasswd) 
> of the most files come from?

It means your /etc/passwd and /etc/group don't have all the necessary
information for the particular user; it is trying to tell you to run mkpasswd
and mkgroup again with more options.
http://cygwin.com/cygwin-ug-net/using-utils.html#mkgroup

> Rlogin seems not to use passwd and gid and I can 
> not force it to login with /bin/bash (which is defined in /etc/passwd). It  
> always  comes up with /bin/sh (which does not understand any aliases and 
> others). 
> 
> A drastic workaround at the moment is to symlink bash to sh.

Depending on how recent your installation is, /bin/sh IS already bash.

Hint: following these directions helps us help you.

> Problem reports:       http://cygwin.com/problems.html

--
Eric Blake



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