-   Solaris / OpenSolaris (
-   -   groupadd (

chetan_linux 02-25-2011 09:38 AM

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 09: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 09: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 09:56 AM

Do you have mysql installed?

chetan_linux 02-25-2011 09: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 10: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 03:34 PM

What says:

grep group /etc/nsswitch.conf

All times are GMT -5. The time now is 10:27 PM.