LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   groupadd (https://www.linuxquestions.org/questions/solaris-opensolaris-20/groupadd-864985/)

chetan_linux 02-25-2011 08:38 AM

groupadd
 
Hi
While trying to add a group in server by using command groupadd user, it is throwing error that group already exist but the group is not present in file /etc/group and also while deleting the same group after getting that exist message it says group is not present. Please suggest

corp769 02-25-2011 08:43 AM

What is the exact command that you are using, and can you post the output of it? Thanks!

chetan_linux 02-25-2011 08:48 AM

I am using the below command

groupadd mysql

Error: group already exist

---------- Post added 02-25-11 at 08:19 PM ----------

and also i want to add this under a zone in Solaris 10

corp769 02-25-2011 08:56 AM

Do you have mysql installed?

chetan_linux 02-25-2011 08:57 AM

I am not sure about that and also it is possible to add a group manually by editing /etc/group file.

corp769 02-25-2011 09:00 AM

Yes it is possible, but you need to find out if mysql is installed.

Also another possibility, are you running groupadd as a normal user, or as root?

jlliagre 02-26-2011 02:34 PM

What says:
Code:

grep group /etc/nsswitch.conf
?


All times are GMT -5. The time now is 12:17 PM.