DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Trusted facility management

Assigning roles to users

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:

  1. Enter

    adminuser -n -o role_name user_name

    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 darrell
   UX:adminuser:WARNING:undefined user name "darrell"
   # adminuser -n -o assistant darrell
   # adminuser darrell
   darrell:
   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.)

The last adminuser displays the entries in the TFM database for darrell, in this case just the role assistant.


Next topic: Adding commands for a user
Previous topic: Functioning in more than one role

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004