delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/05/13:59: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
Message-Id: <5.1.0.14.2.20021105121520.033b55b0@popserve.grc.nasa.gov>
X-Sender: xxjames AT popserve DOT grc DOT nasa DOT gov
Date: Tue, 05 Nov 2002 13:59:12 -0500
To: cygwin AT cygwin DOT com
From: James D Below <James DOT Below AT grc DOT nasa DOT gov>
Subject: Re: /etc/group not being read
In-Reply-To: <20021105170928.GA379503@WORLDNET>
References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021105105333 DOT 01cb2b08 AT popserve DOT grc DOT nasa DOT gov>
<5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20021105105333 DOT 01cb2b08 AT popserve DOT grc DOT nasa DOT gov>
Mime-Version: 1.0

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
SYSTEM:S-1-5-18:18:
clearcase:S-1-5-21-24129212-729888505-1120166462-1078:1078:
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:
ncp:S-1-5-21-24129212-729888505-1120166462-1077:1077:xxjames
ncp_modoc:S-1-5-21-24129212-729888505-1120166462-1095:1095:
ncppc:S-1-5-21-24129212-729888505-1120166462-1023:1023:
NCPSERVE:S-1-5-21-24129212-729888505-1120166462-1005:1005:
nice:S-1-5-21-24129212-729888505-1120166462-1006:1006:


$ cat /etc/passwd
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-NCP\Administrator,S-1-5-21-24129212-729888505-1120166462-500:/u/Administrator:/bin/bash
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.
>
>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/

------------------------------------------------------------------------
James Below                      Phone - 216-433-6508
RS Information Systems, Inc.     Email - James DOT Below AT grc DOT nasa DOT gov
NASA Glenn Research Center
21000 Brookpark Road
Mailstop 142-1
Cleveland, OH 44135
------------------------------------------------------------------------


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