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: Mon, 24 Mar 2003 15:01:20 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Elfyn McBratney cc: cygwin , Martin Subject: Re: cygwin running problem with mysql In-Reply-To: <00b601c2f23f$0f38b030$ab474e51@ellixia> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 24 Mar 2003, Elfyn McBratney wrote: > > I am attempting to install mysql but the install script dies on groupadd > > and useradd commands > > how do I do groupadd with cygwin? > > how do I do useradd with cygwin? > > Cygwin does not have {user,group}add in it's net distribution. If you are on > Windows NT/2000/XP you can use the `net' command, which is shipped with > windows, which can add users/groups. On word though: In Windows you cannot > have a user and group with the same name so you will have you play with > /etc/passwd so you can have a user/group as mysql/mysql. > > Regards, > Elfyn McBratney However, on Windows, the owner of the file can be a Windows group. So, you could create a *group* named "mysql" and make entries for it in both /etc/passwd and /etc/group. 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! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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/