This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin running problem with mysql


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]