Enter the following command: useradmin role modify role_name [-c comments] -a capability1[,capability2...]
role_name is the name of the role that you want to modify.
comments is a short string you can use to document this role.
The capability parameters are the types of access
you want to grant to this role.
Example
The following command line assigns the role “class2loginrights” telnet capabilities, console login capabilities, and all CLI capabilities, while removing any other capabilities that the role was granted previously. useradmin role modify class2loginrights -c “This role is for telnet and console logins” -a login-telnet,login-console,cli-*