Use adminuser with the -o option to assign roles to users in the TFM database.
To assign a role to a user, perform the following:
When you assign a user to a role, make sure the user belongs to a group from which the relevant privileged commands are accessible. The -n option is only necessary if the user is not already defined in the TFM database.
``Assigning a role to a user'' shows how to assign the role assistant to a user, darrell, who does not currently exist in the TFM database.
adminuser darrellUX:adminuser:WARNING:undefined user name "darrell" #
adminuser -n -o assistant darrell#
adminuser darrelldarrell: roles: assistant Commands: <none> #
Assigning a role to a user
The first adminuser without any options but with the name darrell displays any entries currently in the TFM database for darrell. In this case, darrell does not exist in the database, so a warning message is displayed. Note that this is not the same as saying that darrell is not a user on the system. Because this user is not already defined in the database, we know to use the -n option to specify the user is new to the TFM database.
The second adminuser assigns the role assistant to the new administrator darrell. The -n option shows that this is the first entry in the database for this administrator. (If darrell had already existed in the TFM database, the -n option would have been omitted.)
displays the entries in the TFM database for
in this case just the role