Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: unforgiven on July 10, 2009, 07:32:52 AM

Title: Where is "groupadd" command?
Post by: unforgiven on July 10, 2009, 07:32:52 AM
hi,
when i try to use groupadd command, it gaves me
/bin/sh: groupadd: not found

 ??? ??? ??? what should i do? i want to install mysql, and i think i need this command
Title: Re: Where is "groupadd" command?
Post by: bmarkus on July 10, 2009, 07:41:58 AM
Use 'addgroup'
Title: Re: Where is "groupadd" command?
Post by: unforgiven on July 10, 2009, 07:55:18 AM
thanks, i use that, but still have a problem
for installing mysql i should write these command:

groupdadd mysql  => i use addgroup mysql
useradd -g mysql mysql  => i use adduser -g mysql mysql

but it gaves me:
adduser: group name 'mysql' is in use

what is deffrence between adduser and useradd??  i can't undrestand! ???
Title: Re: Where is "groupadd" command?
Post by: bmarkus on July 10, 2009, 08:08:19 AM
Try

adduser -G mysql mysql