SUMMARY: Adding a user to a group

From: Dave Martini 1 <martini_at_mrpeabody.llnl.gov>
Date: Tue Sep 27 2005 - 17:14:28 EDT
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
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Sep 27 17:14:51 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:51 EST