$ 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 - [EMAIL PROTECTED] 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/