I want to know how we can add a new group in solaris. As per my understanding this is done by adding a new entry in /etc/groups file (or by using groupadd command which will also add the entry in the groups file). But when I use group command to see the groups to which I belong, it shows my userid is a part of mqm group, but there is no entry for mqm in /etc/groups file. Am I missing something???
You might be using NIS/NIS+ or some such mechanism. In that case the entry for your username won't be in the /etc/passwd file either.
Just a little pickiness, just in case. It's "/etc/group" not groups.
You never know
Carl
could you please explain a bit on NIS/NIS+?
There are any number of books on this subject, not to mention the amount of matter available online. Take a look at this and this.
thanks a lot!!
if you are using nis you can try
ypcat group|grep <username>
thanks samsam!! I tried this..but i am getting an error: "cant communicate with ypbind!!