Graphical management tool
Two graphical management tools in Solaris 9 can be used to maintain accounts: Admintool and Solaris Management Console (SMC).
Admintool offers many interfaces familiar to Solaris administrators. However, when we open Admintool in Solaris 9, you will get this information: Admintool Will Be Phased Out, So you had Better Find Another Tool You Like. (Perhaps in the later version of Solaris, Admintool will no longer exist.). To view account information in AdminTool, just execute the Browser ➣users menu. Adding, modifying, and deleting an account can be done through the corresponding options for the EDIT menu. The operation interface of adding an account is shown in Figure 4.2:
Figure 4.2: Add an account in AdminTool
As we see in Figure 4.2, we have to add an account, there are three parts that need us to complete: User Identity, Account Security and Home Directory. Description of each part in Figure 4.2 is shown in Table 4.2:
Table 4.2 Add Account Option Description
Table 4.2: Add user Fields
Attribute
Description
User name
User login name
User ID
UID of the user. AdminTool default is the smallest UID plus 1 after 1001.
PRIMARY GROUP
The group name or GID of the primary group belonging to this user. The default is GID = 10 (STAFF).
Secondary Groups
This optional field is the secondary group to which the user belongs, up to 15, can be divided by space between group name or UID, group and group.
Comment
Description information related to the user.
Login shell
The shell used by the user. You can choose Bourne, C or Other.
Password
Indicates how the password for the newly created user is specified. The default is: Cleared Until First Login. That is, when the user logs in for the first time, the password is required. Other options are: Account is locked, no password-setuid only, and normal password (password is made by administrator).
MIN Change
The minimum number of days needed before the user modifies the password.
Max change
The number of passwords is effective.
Max inactive
The account is not used to enter the maximum number of days in the locked state.
Expiration Date
The expiration time of the account.
Warning
Set a reminder before the user password expires.
Create Home Dir
A check box. Whether the work directory is automatically created.
Path
The absolute path of the new user work directory.
Solaris Management Console (SMC) when the new user management tool. The SMC graphical interface is much better than AdminTool, and SMC provides more management options for user management. For example, we can create an account template by thinking to add multiple users, create an account template, and set a user policy.
SMC allows you to view account information in a variety of ways: large icon or small icon, list, detail, and web style. Figure 4.3 is an interface that displays account information in a detailed manner in the SMC.
Figure 4.3 SMC-User Account
To modify an account, first select the account, then select Menu Action ➣properties, or double-click the account. The properties form similar to Figure 4.4 will appear. Figure 4.4 User Account Attribute
SMC user account properties are provided by the nine TAB pages for us to configure different variables of an account. The description of these TAB pages is shown in Table 4.3:
Table 4.3
Tab
description
General
Provide regular information about accounts, such as username, description, shell and account validity period.
Group
Set the user's primary group and the secondary group.
Projects
Define the primary engineering (Project) and additional secondary projects that users associated.
Home Directory
Set the working directory path. Whether the work directory and the shared option of the working directory are automatically set.
Password
Contains two options:
Users must set a password;
Users must use this password (set by administrator)
Password Options
Contains minimum and maximum change password days, reminder time, and expiration time.
Set the user's Mail server and mail directory
Rights
Give the user to system permissions.
Roles
Set the management role for the user.
In SMC, you want to delete an account, select the menu edit ➣ delete, or right-click on the username, select Delete.
From this, we are not difficult to find that you want to manage your account through a graphical interface, and SMC is more convenient to be more flexible than Admintool. However, we have to go through our certification exam, we have to learn how to add, manage, and modify accounts in the command line.