Where are my groups

Hello

A couple of weeks ago, I added a user to an AIX 5.3 system.

I go to add one today, and it appears that when creating a user in smit, I cannot see any groups.

No primary groups
No Group set
No Admin Groups

The /etc/group and etc/secuity/group files seem to be intact.

I did have a vendor on the system. They say they just added a user. If I select an existing user (select change a user from smit), all group info is displayed.

Any thoughts on this would be very much appreciated.

Mike

You can do quite a bit of debugging in SMIT. Try something like this:

smit -D -l /tmp/smit.debug users

This is debug mode logging to an alternate file. When I do this on my system, smit is simply parsing lsgroup output:

lsgroup -a ALL | sed 's/  *$//' 

I bet if you run "lsgroup ALL" from the command line, you'll be able to figure this out.

I run lsgroup and I keep getting segmentation faults, which produce a core dump.

Not sure what is going on. I am getting no error logs entries save for the core dumps

Mike

maybe this hint applies to you too?

Hope this helps.

bakunin

Yes.

There was a bad line in my /etc/groups file. These utilities fixed the issue for me.

Thanks for the assist

Mike