Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Wed, 30 Oct 2002 11:26:46 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Marcos Lorenzo cc: cygwin AT cygwin DOT com Subject: RE: problems setting permissions for sshd In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 30 Oct 2002, Marcos Lorenzo wrote: > Vince Hoffman 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 AT MOZART ~$ id > uid=1003(marcos) gid=512(domadmin) groups=0(everyone),513(domusers),544(admin),512(domadmin),545(users) > marcos AT MOZART ~$ ls -ln > total 0 > drwxr-x--- 2 1003 512 0 Oct 30 12:05 bin > marcos AT 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/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,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/