On Wed, 30 Oct 2002, Marcos Lorenzo wrote:

> Vince Hoffman <[EMAIL PROTECTED]> wrote [11:56am -0000]
>
>    VH > just making up a group entry is unlikely to work. to get your domain groups
>    VH > use mkgroup -d (making sure you are connected to your network.)
>
> That doesn't work, I need a group that has GID=512.
>
> marcos@MOZART ~$ id
> uid=1003(marcos) gid=512(domadmin) 
>groups=0(everyone),513(domusers),544(admin),512(domadmin),545(users)
> marcos@MOZART ~$ ls -ln
> total 0
> drwxr-x---    2 1003     512             0 Oct 30 12:05 bin
> marcos@MOZART ~$ mkgroup -d | grep -i admin
> Admins. del dominio:S-1-5-21-462973936-1154566708-996637233-512:10512:
>                                                                 ^^^^^
>
> As you can see the GID that mkgroup returns is 10512 not 512 as I have as
> my GID.
>
> I tried it but with the same results as my last e-mail
>
> m4c.

Marcos,

mkgroup and mkpasswd automatically add 10000 to the ids of the domain
groups and users (though there's an option to change that -- "-o", I
think).

Also, IIRC, you can simply edit the GID number (the next-to-last column)
in the groups file to put whatever number you need there (read the
security section in the User's Guide).  Try it and see -- don't forget to
back up the file.
        Igor
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_                [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            [EMAIL PROTECTED]
     |,4-  ) )-,_. ,\ (  `'-'           Igor Pechtchanski
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51


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

Reply via email to