This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: /etc/group not being read

here are the exact command/files:

$ id
uid=1084(xxjames) gid=512(Domain Admins) groups=1078(clearcase),512(Domain Admins),513(Domain Users),1077(ncp),1023(ncppc),1005(NCPSERVE),1006(nice)

$ cat /etc/group
Domain Admins:S-1-5-21-24129212-729888505-1120166462-512:512:
Domain Guests:S-1-5-21-24129212-729888505-1120166462-514:514:
Domain Users:S-1-5-21-24129212-729888505-1120166462-513:513:

$ cat /etc/passwd
xxjames:unused_by_nt/2000/xp:1084:1077:James Below,U-NCP\xxjames,S-1-5-21-24129212-729888505-1120166462-1084:/u/xxjames:/bin/tcsh

With or without the "-u" had no affect. I don't have telnet access configured on this box.

Before sending this to you I tried to change it from 1077 to 513 but id still shows it as "512"

I have no idea what is going on now. I wonder if there is a registry setting that is holding onto the gid.

At 12:09 PM 11/05/2002 -0500, you wrote:
On Tue, Nov 05, 2002 at 11:19:47AM -0500, James D Below wrote:
> Hi All,
> I am having a problem with my /etc/group file not being read when logging
> in with ssh. I am running w2k sp3, using ntsec.
> I ran mkgroup -d -o 0 -u > /etc/group to create the group file
> and mkpasswd -d -o 0 > /etc/passwd
> I am trying to use a global group "ncp" as my primary group, but the only
> group IDs that I am able to use "setgid" on are local gids. (mkgroup -l)

I am unable to reproduce your problem (on NT4).
You only sent us the output of mkgroup, but not what's actually in /etc/group..

Does it occur also if you build /etc/group without the -u ?
Also why do you specify -o 0 ? It's not the cause of your problem but
as you noticed you then have two different Windows groups (sid #) with
the same gid.
Can you telnet in? If so, what is the output of id?

You are welcome to send me your /etc/group file if you wish (as an attachment),
I will try it here.


Unsubscribe info:
Bug reporting:
James Below                      Phone - 216-433-6508
RS Information Systems, Inc.     Email -
NASA Glenn Research Center
21000 Brookpark Road
Mailstop 142-1
Cleveland, OH 44135

Unsubscribe info:
Bug reporting:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]