SUMMARY: Adding a user to a group

2007-12-25 5:25:00

I didn't get any responses but I was able to solve my own problem with adding a user to a group
using the nistbladm command. I wasn't able to use Solstice Adminsuite to do this
because this particular users UID is under 100.

This particular user was already in 16 subgroups which is the limit.
I first removed him from one group and then added him to the
group he wanted to be in.

Assuming the users in question is user4 here is what I did

First omit user4 from the group he doesn't need to be in any longer.

nistbladm -e members=user1,user2,user3, '[name=group1]'group.org_dir

Then add user4 to the group he needs to be in.

nistbladm -e members=user1,user2,user3,user4 '[name=group2]'group.org_dir

Dave Martini
LLNL

Comments

Got something to say?

You must be logged in to post a comment.