delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/24/15:01:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Elfyn McBratney <elfyn AT exposure DOT org DOT uk>
cc: cygwin <cygwin AT cygwin DOT com>, Martin <mgainty AT hotmail DOT 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

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019