delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/28/18:18:26

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
Date: Sat, 28 Dec 2002 18:13:25 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: Domain user cannot login
Message-ID: <20021228231325.GA251590689@HPN5170X>
Mail-Followup-To: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>,
cygwin AT cygwin DOT com
References: <3E0E28A6 DOT D6616E57 AT swipnet DOT se>
Mime-Version: 1.0
In-Reply-To: <3E0E28A6.D6616E57@swipnet.se>
User-Agent: Mutt/1.4i

On Sat, Dec 28, 2002 at 11:41:42PM +0100, a12 wrote:
> Hi gurus,
> 
> I installed cygwin incl. openssh and it runs OK for a local
> user 'sysaccount'.
> For a domain user 'magr40' I updated /etc/passwd:
> mkpasswd -d -u magr40 >> /etc/passwd
> and fetched all group id's:
> mkgroup -d > group.domain
> 
> /etc/passwd contains:
> magr40:*:112085:10513:magr40,U-DOMAIN\magr40,S-1-5-21-220523388-688789844-725345543-102085:/home/magr40:/bin/bash
> 
> /etc/group.domain does not contain group id 112085, 

Why should it? 112085 is the user id. It should only appear in /etc/passwd.
On the other hand the gid 10513 should appear in /etc/group.
Isn't it in group.domain? Why don't you append group.domain to group?

> When I double-click on Cygwin icon I get:

Uh? What icon?
> [9146 AT gj2qf0j]~:(1):$ ssh localhost
> You don't exist, go away!

That's because ssh doesn't find your uid in /etc/passwd.
Perhaps because you have changed the uid in passwd after
having started cygwin.

Pierre

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