How do you change a user's non-primary group attribute. The OS command would be "chuser groups=group1,group2 username."
The support documentation was detailed in how to change only the user's primary group.
One way to change the non-primary groups for a user is with the “vastool group” command. Here is an example of how it can be used to add “test” as an additional group for the user “user1”:
$ id -a user1
uid=1000(user1) gid=1000(unix) groups=1000(unix)
$ vastool group test add user1
1 user added to group test
$ id -a user1
uid=1000(user1) gid=1000(unix) groups=1000(unix),1051432296(test)
Instead of using the “add” option, you can use “del” to remove the user from the group.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center