WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Where is "groupadd" command?  (Read 5504 times)

Offline unforgiven

  • Newbie
  • *
  • Posts: 12
Where is "groupadd" command?
« 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

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Where is "groupadd" command?
« Reply #1 on: July 10, 2009, 07:41:58 AM »
Use 'addgroup'
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline unforgiven

  • Newbie
  • *
  • Posts: 12
Re: Where is "groupadd" command?
« Reply #2 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! ???

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Where is "groupadd" command?
« Reply #3 on: July 10, 2009, 08:08:19 AM »
Try

adduser -G mysql mysql

Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."