SUMMARY: Adding a user to a group

From: Dave Martini 1 (martini_at_mrpeabody.llnl.gov)
Date: 09/27/05

  • Next message: Tim Evans: "Activating HotSpare in A1000 with RaidManager"
    Date: Tue, 27 Sep 2005 14:14:28 -0700 (PDT)
    To: sunmanagers@sunmanagers.org
    
    

    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


  • Next message: Tim Evans: "Activating HotSpare in A1000 with RaidManager"