Contained WithinFind More DocumentationFeatured Support Resources | Descargar este libro en PDF (2825 KB)
Using the Solaris Management Tools With RBAC (Task Map)This task map describes the tasks to do if you want to use the RBAC security features rather than the superuser account to perform administration tasks. Note – The information in this chapter describes how to use the console with RBAC. RBAC overview and task information is included to show you how to initially set up RBAC with the console. For detailed information on RBAC and how to use it with other applications, see Role-Based Access Control (Overview) in System Administration Guide: Security Services.
The following sections provide overview information and step-by-step instructions for using the Solaris Management Console and the RBAC security features. If You Are the First to Log in to the ConsoleIf you are the first administrator to log in to the console, start the console as a user (yourself). Then, log in as superuser. This method gives you complete access to all the console tools. Here are the general steps, depending on whether you are using RBAC:
Creating the Primary Administrator RoleAn administrator role is a special user account. Users who assume a role are permitted to perform a predefined set of administrative tasks. The Primary Administrator role is permitted to perform all administrative functions, similar to superuser. If you are superuser, or a user assuming the Primary Administrator role, you can define which tasks other administrators are permitted to perform. With the help of the Add Administrative Role wizard, you can create a role, grant rights to the role, and then specify which users are permitted to assume that role. A right is a named collection of commands, or authorizations, for using specific applications. A right enables you to perform specific functions within an application. The use of rights can be granted or denied by an administrator. You are prompted for the following information when you create the Primary Administrator role. Table 2–2 Field Descriptions for Adding a Role by Using the Solaris Management Console
For detailed information about role-based access control, and instructions on how to use roles to create a more secure environment, see Role-Based Access Control (Overview) in System Administration Guide: Security Services.
|
% /usr/sadm/bin/smc & |
For additional information on starting the console, see How to Start the Console as Superuser or as a Role.
The console online help provides more information about creating a user account for yourself.
Click on the This Computer icon in the Navigation pane.
Click on System Configuration->Users -> Administrative Roles.
Click Action->Add Administrative Role.
The Add Administrative Role wizard opens.
Create the Primary Administrator role with the Administrative Role wizard by following these steps.
Identify the role name, full role name, description, role ID number, role shell, and whether you want to create a role mailing list. Click Next.
Set and confirm the role password. Click Next.
Select the Primary Administrator right from the Available Rights column and add it to Granted Rights column. Click Next.
Select the home directory for the role. Click Next.
Assign yourself to the list of users who can assume the role. Click Next.
If necessary, see Table 2–2 for a description of the role fields.
Click Finish.
After you have created the Primary Administrator role, log in to the console as yourself, and then assume the Primary Administrator role.
When you assume a role, you take on all the attributes of that role, including the rights. At the same time, you relinquish all of your own user properties.
Start the console.
% /usr/sadm/bin/smc & |
For information on starting the console, see How to Start the Console as Superuser or as a Role.
Log in with your user name and password.
A list shows which roles you are permitted to assume.
Log in to the Primary Administrator role and provide the role password.