This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Domain user cannot login
- From: "Pierre A. Humblet" <pierre dot humblet at ieee dot org>
- To: cygwin at cygwin dot com
- Date: Sat, 28 Dec 2002 18:13:25 -0500
- Subject: Re: Domain user cannot login
- References: <3E0E28A6.D6616E57@swipnet.se>
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@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/