Mail Archives: cygwin/2003/03/24/15:01:36
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 -