Mail Archives: cygwin/2002/11/05/11:20:34
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 -