![]() |
|
|
|
|
|||||||
| BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Command not found | manna | UNIX for Dummies Questions & Answers | 20 | 01-10-2008 07:29 AM |
| how can i check in csh if command found or not found ? | umen | Shell Programming and Scripting | 2 | 03-03-2007 03:38 PM |
| command not found | simba_tsavo | UNIX for Advanced & Expert Users | 1 | 07-05-2006 06:17 AM |
| sh: Hello: command not found | coolboarderguy | Shell Programming and Scripting | 2 | 06-24-2006 01:27 AM |
| groupadd: unable to lock group file | Daven81 | Linux | 1 | 11-14-2005 06:28 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
groupadd :: Command not found
Hi, everybody
Instructions on installing mysql in freebsd insist on using #groupadd command. I tried it on freebsd-6.0. just to get this response "Command not found". Is there any way round? yours` sehrguey |
| Forum Sponsor | ||
|
|
|
|||
|
dear helpers,
all of the commands you proposed were tried with a monotonous result :Command not found or :No such file or directory. I suspect the groupadd command is from Linux and mistakingly replicated by site-keepers in the net. But then - how can a dummy deploy mysql on freebsd? yours` sehrguey |
|
|||
|
Dear _R3d ,
I typed your recipe at the command line as folows: #find / -name "groupadd" the box contemplated it for about half a minute and flashed back just bare prompt -- # Anyway, many thanks for your benevolent intentions. yours` sehrguey |
|
|||
|
caveat: I never have found time to use these commands yet.
.................. gleaned from an onlamp com article after "apropos group" perusal: ................ ANSWER: probably) 1... edit /etc/groups (to add the group required by apache and to give it a number (man groups , first) 2... chkgrp (if no errors found, step 1 was good probably) 3... chgrp FILE group (file, group as required per the instructions you have about apache) after perusing #man chgrp |
|
|||
|
dear jb_bsd,
Many thanks for your kind attention. Actually, the group creation was needed by an application other than apache but that's minor. First step from your instruction was done some time ago following the tip from Sergiu-IT (earlier in this here thread: "Try to manualy edit the /etc/group file.") However, the idea of checking the group (second step from your instruction) is wholly your merit. I did as you told and the box replied "/etc/group is fine". So, the problem is solved yet still remains my question: Does 'addgroup' command exist at all in this release of freebsd? obligedly and muchly so yours` sehrguey |
|
|||
|
There's no need for a "addgroup" or "groupadd" command when:
Code:
# vi /etc/group That's the beauty in UNIX. If you can edit a text file, you can configure the OS. No "regedit" or anything obscure like that. As an aside, I usually use "vipw" to add users to my system (rather than the supplied "adduser" script or anything else invented to create user accounts). |
|||
| Google UNIX.COM |
| Tags |
| linux, solaris |
| Thread Tools | |
| Display Modes | |
|
|