Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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 <pechtcha@cs.nyu.edu>
Reply-To: cygwin@cygwin.com
To: Elfyn McBratney <elfyn@exposure.org.uk>
cc: cygwin <cygwin@cygwin.com>, Martin <mgainty@hotmail.com>
Subject: Re: cygwin running problem with mysql
In-Reply-To: <00b601c2f23f$0f38b030$ab474e51@ellixia>
Message-ID: <Pine.GSO.4.44.0303241500100.561-100000@slinky.cs.nyu.edu>
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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/

