delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/05/11:20:34

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.20021105105333.01cb2b08@popserve.grc.nasa.gov>
X-Sender: xxjames AT popserve DOT grc DOT nasa DOT gov
Date: Tue, 05 Nov 2002 11:19:47 -0500
To: cygwin AT cygwin DOT com
From: James D Below <James DOT Below AT grc DOT nasa DOT gov>
Subject: /etc/group not being read
Mime-Version: 1.0

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)

here is my local groups. I can change my gid in /etc/passwd to any of these 
and ssh logins work great.

MODOC [/etc] 109%mkgroup -l
SYSTEM:S-1-5-18:18:
None:S-1-5-21-515967899-1645522239-682003330-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:

These are my domain global groups which are also stored in /etc/group. For 
this email I left off the "-u". Only 513 works, since it is also a local 
group. If I change my group to 1078 or 1077, I get the "setgid: Invalid 
arguement" error.

MODOC [/etc] 111%mkgroup -d -o 0
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:
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:
MODOC [/etc] 112%

I read through the cygwin NT sec documents. It is my understanding that 
this should work.

Does anyone have any insight to what may be causing this?

thanks.

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