public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* 1.3.10 and setgid
@ 2002-02-28  1:32 Lapo Luchini
  2002-02-28  5:55 ` Bjoern Kahl AG Resy
  0 siblings, 1 reply; 13+ messages in thread
From: Lapo Luchini @ 2002-02-28  1:32 UTC (permalink / raw)
  To: CygWin

I think there's a ergression (at least on by box):

$ ssh root@xxx
setgid 513: Invalid argument

Using 1.3.9 it works OK.

--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: 1.3.10 and setgid
  2002-02-28  1:32 1.3.10 and setgid Lapo Luchini
@ 2002-02-28  5:55 ` Bjoern Kahl AG Resy
  2002-02-28  6:16   ` Lapo Luchini
  0 siblings, 1 reply; 13+ messages in thread
From: Bjoern Kahl AG Resy @ 2002-02-28  5:55 UTC (permalink / raw)
  To: Lapo Luchini; +Cc: CygWin


 Hallo !

 wild guess ...

On Thu, 28 Feb 2002, Lapo Luchini wrote:

> I think there's a ergression (at least on by box):
>
> $ ssh root@xxx
> setgid 513: Invalid argument
>
> Using 1.3.9 it works OK.

 Did you check your /etc/passwd and or /etc/groups ?

 I have had the same problem some weeks ago, because of an to old
 passwd and groups file. Just compare the output of mkpasswd with
 your current file.

 Bjoern


-- 
+---------------------------------------------------------------------+
| Dipl.-Phys. Bjoern Kahl +++ AG Embedded Systems and Robotics (RESY) |
| Informatics Faculty +++ Building 48 +++ University of Kaiserslautern|
| phone: +49-631-205-2654 +++ www: http://resy.informatik.uni-kl.de   |
+---------------------------------------------------------------------+


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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: 1.3.10 and setgid
  2002-02-28  5:55 ` Bjoern Kahl AG Resy
@ 2002-02-28  6:16   ` Lapo Luchini
  2002-02-28  8:00     ` Corinna Vinschen
  0 siblings, 1 reply; 13+ messages in thread
From: Lapo Luchini @ 2002-02-28  6:16 UTC (permalink / raw)
  To: CygWin

> > $ ssh root@xxx
> > setgid 513: Invalid argument
> > Using 1.3.9 it works OK.
>  Did you check your /etc/passwd and or /etc/groups ?

Seems fairly "normal"... has it changed format lately?
Uh.. yes, quite a bit I must admin ^^

Reinstalling 1.3.10...
setgid 513: Invalid argument

Nothing changed.

Strange though!

/etc/passwd
...
Administrator:unused_by_nt/2000/xp:500:513:U-LAPO\Administrator,S-1-5-21-etc-etc-etc:/home/Administrator:/bin/bash

...

/etc/group
Everyone:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
Administrators:S-1-5-32-544:544:
Users:S-1-5-32-545:545:
Guests:S-1-5-32-546:546:
Backup Operators:S-1-5-32-551:551:
Replicator:S-1-5-32-552:552:
Server Operators:S-1-5-32-549:549:
Account Operators:S-1-5-32-548:548:
Print Operators:S-1-5-32-550:550:

no group is 513! 0_o

--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: 1.3.10 and setgid
  2002-02-28  6:16   ` Lapo Luchini
@ 2002-02-28  8:00     ` Corinna Vinschen
  2002-02-28 10:01       ` Lapo Luchini
  0 siblings, 1 reply; 13+ messages in thread
From: Corinna Vinschen @ 2002-02-28  8:00 UTC (permalink / raw)
  To: CygWin

On Thu, Feb 28, 2002 at 02:27:15PM +0100, Lapo Luchini wrote:
> > > $ ssh root@xxx
> > > setgid 513: Invalid argument
> > > Using 1.3.9 it works OK.
> >  Did you check your /etc/passwd and or /etc/groups ?
> 
> Seems fairly "normal"... has it changed format lately?
> Uh.. yes, quite a bit I must admin ^^
> [...]
> /etc/group
> Everyone:S-1-1-0:0:
> SYSTEM:S-1-5-18:18:
> Administrators:S-1-5-32-544:544:
> Users:S-1-5-32-545:545:
> Guests:S-1-5-32-546:546:
> Backup Operators:S-1-5-32-551:551:
> Replicator:S-1-5-32-552:552:
> Server Operators:S-1-5-32-549:549:
> Account Operators:S-1-5-32-548:548:
> Print Operators:S-1-5-32-550:550:
> 
> no group is 513! 0_o

That's weird, actually.  You should have a group 513 which
is either your native version of "None" on a standalone box
or "Domain Users" if you're in a domain.

Please check rebuilding with mkgroup again.  If mkgroup doesn't
create a group 513, we have a glitch here.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: 1.3.10 and setgid
  2002-02-28  8:00     ` Corinna Vinschen
@ 2002-02-28 10:01       ` Lapo Luchini
  2002-03-01  2:44         ` Corinna Vinschen
  0 siblings, 1 reply; 13+ messages in thread
From: Lapo Luchini @ 2002-02-28 10:01 UTC (permalink / raw)
  To: CygWin

> > /etc/group
> > Everyone:S-1-1-0:0:
> > SYSTEM:S-1-5-18:18:
> > Administrators:S-1-5-32-544:544:
> > Users:S-1-5-32-545:545:
> > Guests:S-1-5-32-546:546:
> > Backup Operators:S-1-5-32-551:551:
> > Replicator:S-1-5-32-552:552:
> > Server Operators:S-1-5-32-549:549:
> > Account Operators:S-1-5-32-548:548:
> > Print Operators:S-1-5-32-550:550:
> >
> > no group is 513! 0_o
>
> That's weird, actually.  You should have a group 513 which
> is either your native version of "None" on a standalone box
> or "Domain Users" if you're in a domain.
>
> Please check rebuilding with mkgroup again.  If mkgroup doesn't
> create a group 513, we have a glitch here.
>
> Corinna

I re-created that just before writing the message...

Administrator@CYBERONE ~
$ mkgroup -l
Everyone:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
Administrators:S-1-5-32-544:544:
Users:S-1-5-32-545:545:
Guests:S-1-5-32-546:546:
Backup Operators:S-1-5-32-551:551:
Replicator:S-1-5-32-552:552:
Server Operators:S-1-5-32-549:549:
Account Operators:S-1-5-32-548:548:
Print Operators:S-1-5-32-550:550:
Accesso compatibile precedente a Windows 2000:S-1-5-32-554:554:
Server RAS e IAS:S-1-5-21-1957994488-1303643608-1417001333-553:553:
DnsAdmins:S-1-5-21-1957994488-1303643608-1417001333-1104:1104:

Administrator@CYBERONE ~
$ cygcheck -s

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Feb 28 18:25:49 2002

Windows 2000 Server Ver 5.0 Build 2195 Service Pack 2

Path: C:\WINNT\system32
 C:\WINNT
 C:\WINNT\System32\Wbem
 C:\Programmi\Utility
 C:\Language\Cygnus\bin\
 C:\Language\Java2\bin
 C:\Programmi\MSSQL7\BINN
 C:\Programmi\Symantec\pcAnywhere\
 C:\Programmi\File comuni\Autodesk Shared\
 C:\PROGRA~1\BITKEE~1
 C:\Language\Tcl\bin

 F:\Java2\JET\BIN

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `ntsec'
Path =
`C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Programmi\Utility;C:\Language\Cygnus\bin\;C:\Language\Java2\bin;C:\Programmi\MSSQL7\BINN;C:\Programmi\Symantec\pcAnywhere\;C:\Programmi\File
comuni\Autodesk
Shared\;C:\PROGRA~1\BITKEE~1;C:\Language\Tcl\bin;;F:\Java2\JET\BIN'

Use `-r' to scan registry

a:  fd           N/A    N/A
c:  hd  NTFS    4334Mb  93% CP CS UN PA FC     Skuld-SYS
d:  hd  NTFS   15451Mb  84% CP CS UN PA FC     Skuld-NET
e:  hd  NTFS    2047Mb  72% CP CS UN PA FC     Skuld-STORE
f:  hd  NTFS    4337Mb  24% CP CS UN PA FC     Skuld-LANG
g:  fd           N/A    N/A
k:  cd  CDFS     647Mb 100%    CS UN           Music 14
l:  cd           N/A    N/A
m:  cd           N/A    N/A

.              /cygdrive  user    binmode,noumount
F:\Cygnus      /          system  binmode
F:/Cygnus/bin  /usr/bin   system  binmode
F:/Cygnus/lib  /usr/lib   system  binmode

Found: C:\Language\Cygnus\bin\bash.exe
Found: C:\Language\Cygnus\bin\cat.exe
Found: C:\Language\Cygnus\bin\cpp.exe
Found: C:\Language\Cygnus\bin\find.exe
Found: C:\Language\Cygnus\bin\gcc.exe
Found: C:\Language\Cygnus\bin\gdb.exe
Found: C:\Language\Cygnus\bin\ld.exe
Found: C:\Language\Cygnus\bin\ls.exe
Found: C:\Language\Cygnus\bin\make.exe
Found: C:\Language\Cygnus\bin\sh.exe

   56k 2000/12/03 C:\Language\Cygnus\bin\cygbz21.0.dll
  621k 2002/01/16 C:\Language\Cygnus\bin\cygcrypto.dll
   45k 2001/04/25 C:\Language\Cygnus\bin\cygform5.dll
   35k 2002/01/09 C:\Language\Cygnus\bin\cygform6.dll
   19k 2002/02/20 C:\Language\Cygnus\bin\cyggdbm.dll
   17k 2001/06/28 C:\Language\Cygnus\bin\cyghistory4.dll
   22k 2001/12/13 C:\Language\Cygnus\bin\cygintl-1.dll
   21k 2001/06/20 C:\Language\Cygnus\bin\cygintl.dll
   81k 2000/12/05 C:\Language\Cygnus\bin\cygitcl30.dll
   35k 2000/12/05 C:\Language\Cygnus\bin\cygitk30.dll
   26k 2001/04/25 C:\Language\Cygnus\bin\cygmenu5.dll
   20k 2002/01/09 C:\Language\Cygnus\bin\cygmenu6.dll
  156k 2001/04/25 C:\Language\Cygnus\bin\cygncurses++5.dll
  175k 2002/01/09 C:\Language\Cygnus\bin\cygncurses++6.dll
  226k 2001/04/25 C:\Language\Cygnus\bin\cygncurses5.dll
  202k 2002/01/09 C:\Language\Cygnus\bin\cygncurses6.dll
   15k 2001/04/25 C:\Language\Cygnus\bin\cygpanel5.dll
   12k 2002/01/09 C:\Language\Cygnus\bin\cygpanel6.dll
   40k 2001/11/21 C:\Language\Cygnus\bin\cygpcre.dll
   39k 2001/11/21 C:\Language\Cygnus\bin\cygpcreposix.dll
  170k 2002/01/21 C:\Language\Cygnus\bin\cygpng2.dll
  108k 2001/06/28 C:\Language\Cygnus\bin\cygreadline4.dll
  156k 2002/01/16 C:\Language\Cygnus\bin\cygssl.dll
  390k 2000/12/05 C:\Language\Cygnus\bin\cygtcl80.dll
    5k 2000/12/05 C:\Language\Cygnus\bin\cygtclpip80.dll
   10k 2000/12/05 C:\Language\Cygnus\bin\cygtclreg80.dll
  623k 2000/12/05 C:\Language\Cygnus\bin\cygtk80.dll
   50k 2002/01/20 C:\Language\Cygnus\bin\cygz.dll
  751k 2002/02/25 C:\Language\Cygnus\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.3.10
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 51
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix:
        Build date: Mon Feb 25 11:14:34 EST 2002
        Shared id: cygwin1S3


Cygwin Package Information
Package             Version
LyX                 1.1.6fix2b
LyXsupport          1.0
XFree86-Runtime     4.1
ash                 20020131-1
bash                2.05a-3
bc                  1.06-1
binutils            20011002-1
bzip2               1.0.1-6
clear               1.0
cpio                2.4.2
cron                3.0.1-5
crypt               1.0-1
cvs                 1.11.0-1
cygrunsrv           0.95-1
cygutils            0.9.9-1
cygwin              1.3.10-1
diff                0.0
file                3.37-1
fileutils           4.1-1
findutils           4.1
fortune             1.8-2
gawk                3.0.4-1
gcc                 2.95.3-5
gdb                 20010428-3
gdbm                1.8.0-4
gettext             0.10.40-1
grep                2.5g
groff               1.17.2-1
gzip                1.3.2-1
indent              2.2.7-2
inetutils           1.3.2-17
irc                 20010101-1
less                358-3
libintl             0.10.38-3
libintl1            0.10.40-1
libncurses5         5.2-1
libncurses6         5.2-8
libpng              1.0.12-1
libpng2             1.0.12-1
libreadline4        4.1-2
libreadline5        4.2a-1
login               1.4-3
lynx                2.8.4-1
m4                  0.0
make                3.79.1-5
man                 1.5g-2
mingw               20010917-1
mingw-runtime       1.2-1
mktemp              1.4-1
nano                1.0.7-1
ncftp               3.0.2-2
ncurses             5.2-8
newlib-man          20001118-1
opengl              1.1.0-5
openssh             3.0.2p1-5
openssl             0.9.6c-3
openssl-devel       0.9.6c-2
patch               2.5-3
pcre                3.7-1
perl                5.6.1-2
popt                1.6.2-1
python              2.2-1
readline            4.2a-1
rsync               2.5.1-2
rxvt                2.7.2-10
sed                 3.02-1
sh-utils            2.0-2
sharutils           4.2.1-2
shellutils          0.0
shutdown            1.2-2
tar                 1.13.19-1
tcltk               20001125-1
termcap             20010825-1
terminfo            5.2-1
texinfo             4.0-5
textutils           2.0.21-1
time                1.7-1
units               1.77-1
unzip               5.41-1
vim                 6.0.93-1
w32api              1.2-1
wget                1.8.1-1
which               1.5-1
whois               4.5.17-1
xpm                 4.0.0-2
zip                 2.3-1
zlib                1.1.3-7

Use -h to see help about each section

--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: 1.3.10 and setgid
  2002-02-28 10:01       ` Lapo Luchini
@ 2002-03-01  2:44         ` Corinna Vinschen
  2002-03-01 16:11           ` Gerrit P. Haase
  0 siblings, 1 reply; 13+ messages in thread
From: Corinna Vinschen @ 2002-03-01  2:44 UTC (permalink / raw)
  To: CygWin

On Thu, Feb 28, 2002 at 06:26:59PM +0100, Lapo Luchini wrote:
> I re-created that just before writing the message...
> 
> Administrator@CYBERONE ~
> $ mkgroup -l
> Everyone:S-1-1-0:0:
> SYSTEM:S-1-5-18:18:

At that point, "None" should appear.  That's a valid group on all NT
systems since it's the default primary group for all users, domain
member or not.

I checked mkgroup on my system and it creats the "None" entry.
I think you will have to debug that on your system.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: 1.3.10 and setgid
  2002-03-01  2:44         ` Corinna Vinschen
@ 2002-03-01 16:11           ` Gerrit P. Haase
  2002-03-06  1:05             ` Corinna Vinschen
  0 siblings, 1 reply; 13+ messages in thread
From: Gerrit P. Haase @ 2002-03-01 16:11 UTC (permalink / raw)
  To: Corinna Vinschen

Hallo Corinna,

Am 2002-03-01 um 11:44 schriebst du:

> On Thu, Feb 28, 2002 at 06:26:59PM +0100, Lapo Luchini wrote:
>> I re-created that just before writing the message...
>> 
>> Administrator@CYBERONE ~
>> $ mkgroup -l
>> Everyone:S-1-1-0:0:
>> SYSTEM:S-1-5-18:18:

> At that point, "None" should appear.  That's a valid group on all NT
> systems since it's the default primary group for all users, domain
> member or not.

> I checked mkgroup on my system and it creats the "None" entry.
> I think you will have to debug that on your system.

How to debug this?
BTW, I have no entry in /etc/group with gid 513, that is my NT4.6a Server
box.  On the W2K Server to my right the group exists.

$ mkgroup -l
Jeder:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
Administratoren:S-1-5-32-544:544:
Benutzer:S-1-5-32-545:545:
...


I'm pretty sure that I never had this group.


Gerrit
-- 
=^..^=                                        mailto:gp@familiehaase.de


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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: 1.3.10 and setgid
  2002-03-01 16:11           ` Gerrit P. Haase
@ 2002-03-06  1:05             ` Corinna Vinschen
  2002-03-06  2:55               ` Lapo Luchini
  0 siblings, 1 reply; 13+ messages in thread
From: Corinna Vinschen @ 2002-03-06  1:05 UTC (permalink / raw)
  To: cygwin

On Sat, Mar 02, 2002 at 01:15:21AM +0100, Gerrit P. Haase wrote:
> BTW, I have no entry in /etc/group with gid 513, that is my NT4.6a Server
> box.  On the W2K Server to my right the group exists.
> 
> $ mkgroup -l
> Jeder:S-1-1-0:0:
> SYSTEM:S-1-5-18:18:
> Administratoren:S-1-5-32-544:544:
> Benutzer:S-1-5-32-545:545:
> ...
> 
> 
> I'm pretty sure that I never had this group.

Is that NT4 server a DC?  If so, try if `mkgroup -d' returns
the "Domaenenbenutzer" ("Domain Users") group.

I just tried `mkgroup -l' on a german NT4 Wkst and I got the group 513:

$ mkgroup -l
Jeder:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
Kein:S-1-5-21-2046982008-79955350-526660263-513:513:
[...]

So it doesn't depend on the NT version.  As I already wrote, this
group exists always on all NT versions.  It's just renamed to
"Domain Users" if a system is configured as PDC.

For those who are interested.  It's a piece of code in mkgroup which
always tries to figure out the name of the 513 group when the -l option
is given.  It's different in each language and isn't returned by the
Windows local group enumerator NetLocalGroupEnum(), unfortunately:

================== SNIP =================
if (print_local)
  {
    /*
     * Get `None' group
    */
    len = 256;
    GetComputerName (name, &len);
    csid = (PSID) malloc (1024);
    len = 1024;
    len2 = 256;
    LookupAccountName (NULL, name,
		       csid, &len,
		       dom, &len,
		       &use);
    print_special (print_sids, GetSidIdentifierAuthority (csid), 5,
			       *GetSidSubAuthority (csid, 0),
			       *GetSidSubAuthority (csid, 1),
			       *GetSidSubAuthority (csid, 2),
			       *GetSidSubAuthority (csid, 3),
			       513,
			       0,
			       0,
			       0);
    free (csid);
  }
================== SNAP =================

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: 1.3.10 and setgid
  2002-03-06  1:05             ` Corinna Vinschen
@ 2002-03-06  2:55               ` Lapo Luchini
  2002-03-06  3:07                 ` Corinna Vinschen
  0 siblings, 1 reply; 13+ messages in thread
From: Lapo Luchini @ 2002-03-06  2:55 UTC (permalink / raw)
  To: Corinna Vinschen

> Is that NT4 server a DC?  If so, try if `mkgroup -d' returns
> the "Domaenenbenutzer" ("Domain Users") group.
>
> I just tried `mkgroup -l' on a german NT4 Wkst and I got the group 513:

I get group "Domain Users - 10513" in "mkgroup -d" but no group 513 in "mkgroup
-l"...
(yes, my PC is a 2k PDC, and activetree is active (but I think I'll remove it
soon as I never used it other that with a simple workgroup))

$ mkgroup -l
Everyone:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
Administrators:S-1-5-32-544:544:
Users:S-1-5-32-545:545:
Guests:S-1-5-32-546:546:
Backup Operators:S-1-5-32-551:551:
Replicator:S-1-5-32-552:552:
Server Operators:S-1-5-32-549:549:
Account Operators:S-1-5-32-548:548:
Print Operators:S-1-5-32-550:550:
Accesso compatibile precedente a Windows 2000:S-1-5-32-554:554:
Server RAS e IAS:S-1-5-21-1957994488-1303643608-1417001333-553:553:
DnsAdmins:S-1-5-21-1957994488-1303643608-1417001333-1104:1104:

$ mkgroup -d
Everyone:S-1-1-0:0:
SYSTEM:S-1-5-18:18:
...
Domain Users:S-1-5-21-1957994488-1303643608-1417001333-513:10513:
...

--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: 1.3.10 and setgid
  2002-03-06  2:55               ` Lapo Luchini
@ 2002-03-06  3:07                 ` Corinna Vinschen
  2002-03-06  3:45                   ` Lapo Luchini
  0 siblings, 1 reply; 13+ messages in thread
From: Corinna Vinschen @ 2002-03-06  3:07 UTC (permalink / raw)
  To: cygwin

On Wed, Mar 06, 2002 at 11:51:18AM +0100, Lapo Luchini wrote:
> > Is that NT4 server a DC?  If so, try if `mkgroup -d' returns
> > the "Domaenenbenutzer" ("Domain Users") group.
> >
> > I just tried `mkgroup -l' on a german NT4 Wkst and I got the group 513:
> 
> I get group "Domain Users - 10513" in "mkgroup -d" but no group 513 in "mkgroup
> -l"...
> (yes, my PC is a 2k PDC, and activetree is active (but I think I'll remove it
> soon as I never used it other that with a simple workgroup))
> 
> $ mkgroup -l
> Everyone:S-1-1-0:0:
> SYSTEM:S-1-5-18:18:
> Administrators:S-1-5-32-544:544:
> Users:S-1-5-32-545:545:
> Guests:S-1-5-32-546:546:
> Backup Operators:S-1-5-32-551:551:
> Replicator:S-1-5-32-552:552:
> Server Operators:S-1-5-32-549:549:
> Account Operators:S-1-5-32-548:548:
> Print Operators:S-1-5-32-550:550:
> Accesso compatibile precedente a Windows 2000:S-1-5-32-554:554:
> Server RAS e IAS:S-1-5-21-1957994488-1303643608-1417001333-553:553:
> DnsAdmins:S-1-5-21-1957994488-1303643608-1417001333-1104:1104:
> 
> $ mkgroup -d
> Everyone:S-1-1-0:0:
> SYSTEM:S-1-5-18:18:
> ...
> Domain Users:S-1-5-21-1957994488-1303643608-1417001333-513:10513:
> ...

Ouch.  Ok, just set the gid to 513 in /etc/group or set your
primary group to 10513 in /etc/passwd and try again.

Did you ever read http://cygwin.com/cygwin-ug-net/ntsec.html ???
If you read it carefully, you'll see that you are free to change
/etc/passwd as well as /etc/group so that it fits your needs.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: 1.3.10 and setgid
  2002-03-06  3:07                 ` Corinna Vinschen
@ 2002-03-06  3:45                   ` Lapo Luchini
  2002-03-06  4:11                     ` Corinna Vinschen
  0 siblings, 1 reply; 13+ messages in thread
From: Lapo Luchini @ 2002-03-06  3:45 UTC (permalink / raw)
  To: Corinna Vinschen

> Ouch.  Ok, just set the gid to 513 in /etc/group or set your
> primary group to 10513 in /etc/passwd and try again.

Creating the group 513 "by hand" works perfectly, but nonetheless shouldn't
"mkpasswd" and "mkgroup" create automatically an "usable" system?
If I use "-d" on both I get the correct 10513 group, but creating both with "-l"
creates users in group 513 but creates no group 513.

--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: 1.3.10 and setgid
  2002-03-06  3:45                   ` Lapo Luchini
@ 2002-03-06  4:11                     ` Corinna Vinschen
  0 siblings, 0 replies; 13+ messages in thread
From: Corinna Vinschen @ 2002-03-06  4:11 UTC (permalink / raw)
  To: cygwin

On Wed, Mar 06, 2002 at 12:43:00PM +0100, Lapo Luchini wrote:
> > Ouch.  Ok, just set the gid to 513 in /etc/group or set your
> > primary group to 10513 in /etc/passwd and try again.
> 
> Creating the group 513 "by hand" works perfectly, but nonetheless shouldn't
> "mkpasswd" and "mkgroup" create automatically an "usable" system?
> If I use "-d" on both I get the correct 10513 group, but creating both with "-l"
> creates users in group 513 but creates no group 513.

Patches gratefully accepted.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: 1.3.10 and setgid
       [not found] <LAW2-OE606O3pbQ1mtL000194f0@hotmail.com>
@ 2002-03-06  2:55 ` Lapo Luchini
  0 siblings, 0 replies; 13+ messages in thread
From: Lapo Luchini @ 2002-03-06  2:55 UTC (permalink / raw)
  To: CygWin; +Cc: Sanjay

Sanjay wrote:

> I was reading your message about about the 1.3.10 and setgid. I am
> also getting the same error. Were you able to solve the problem,
> please let me know. I am getting the following problem

I didn't solve it, I just re-installed 1.3.9 as I need ssh now and have
not an idea how to make groups 518 appear ^_^

--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)



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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-03-06 12:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-28  1:32 1.3.10 and setgid Lapo Luchini
2002-02-28  5:55 ` Bjoern Kahl AG Resy
2002-02-28  6:16   ` Lapo Luchini
2002-02-28  8:00     ` Corinna Vinschen
2002-02-28 10:01       ` Lapo Luchini
2002-03-01  2:44         ` Corinna Vinschen
2002-03-01 16:11           ` Gerrit P. Haase
2002-03-06  1:05             ` Corinna Vinschen
2002-03-06  2:55               ` Lapo Luchini
2002-03-06  3:07                 ` Corinna Vinschen
2002-03-06  3:45                   ` Lapo Luchini
2002-03-06  4:11                     ` Corinna Vinschen
     [not found] <LAW2-OE606O3pbQ1mtL000194f0@hotmail.com>
2002-03-06  2:55 ` Lapo Luchini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).