|
| 以 PDF 格式下載這本書
Managing User Accounts
3
- This chapter describes Administration Tool's User Account Manager application, a graphical interface for managing user account information and Database Manager, a graphical interface for managing system files.
- Use this table to proceed directly to the section that provides step-by-step instructions for the following tasks.
-
- See Chapter 7, "User Account Manager Reference," and Chapter 10, "Database Manager Reference," for additional information on each tool's menus and menu commands.
Overview of Adding a New User Account
- This chapter describes the steps used to add a new user account including:
-
· How to Start Database Manager
- The following procedure describes how to start Database Manager.
-
-
Type admintool & from a shell tool prompt and press Return. The Administration Tool main window is displayed.
-
From the Administration Tool main window, click on the Database Manager icon.
The Load Database window is displayed.
-

-
-
Select the name service used in your network.
-
Check that the domain or host name is correct.
If not, type the domain or host name you need to access.
-
Select the Group file.
-
Click on Load.
The group file is displayed.
· How to Add a Group
-
-
Choose Add Entry from the Edit Menu.
The Add Entry window is displayed.
-
Type the group name in the Group Name field.
-
Type the group ID in the Group ID field.
-

-
-
Click on Add.
-
Verify the group has been added by locating the entry in the main window.
· How to Start User Account Manager
- The following procedure describes how to start User Account Manager.
-
-
Click on the User Account Manager icon from the Administration Tool main window.
The Select Naming Service window is displayed.
-

-
-
Select the name service used in your network.
-
Check that the domain or host name is correct.
If not, type the domain or host name you need to access.
-
Click on Apply.
The User Account Manager main window is displayed.
· How to Add a User Account
- This procedure describes how to add a user account. The procedure assumes the group file contains any groups referenced in the Add window.
-
-
Choose Add User from the Edit menu.
The Add User window is displayed.
-
Fill out the Add User window using the information described in Table 7-4 on page 82 and the following instructions:
a. Specify the group name (users) instead of the group ID (100) so that you can quickly identify group ownership on the home directory. b. Choose Normal Password from the Password menu to assign the new user a password. Use this pop-up window to enter the password.
-

-
c. Use /etc/skel as the skeleton path for the user's home directory. This prototype directory contains different initialization files for each available shell type.
- See an example of a completed Add User window on the next page.
-
-
Click on Add.
-
Verify the user has been added by locating the entry in the User Account Manager main window.
Completed Add Window
-

· How to Set Up the New User's Initialization File
- Use this procedure to set up the user's .login file. The procedure assumes that the /etc/skel directory was used as the skeleton path for the user's home directory.
- Log in to the new user's system or into the system that contains the user's home directory.
-
-
Change to the user's home directory.
-
# cd /export/home/user_name
|
-
-
Type mv local.login .login and press Return. This step renames the initialization file so it will be executed upon login.
-
Type rm local.* and press Return.
This step deletes unused initialization files.
-
Add any additional files to the user's home directory.
-
Test the new account by logging in as the new user.
· How to Modify a User Account
- The following procedure describes how to modify a user account using User Account Manager's Modify command. Adding secondary group membership is used as an example.
-
-
Select the user entry to modify from the User Account Manager main window.
-
Choose Modify/View User from the Edit menu.
The Modify User window contains the selected user entry. The completed form is displayed on the next page.
-
Add the appropriate secondary group membership.
-
Click on Apply.
-
Caution - User Account Manager's Modify/View User command can only change the user's home directory entry in the passwd database--not the home directory on disk.
Completed Modify Window
-

· How to Delete a User Account
- The following procedure describes how to use User Account Manager's Delete User command to remove a user account including the user's home directory and mailbox contents.
-
-
Select the user entry to remove from the User Account Manager main window.
-
Choose Delete User from the Edit menu.
The Delete User window is displayed to confirm the removal of the user account.
-

-
-
Click on the boxes for removing the user's home directory and mailbox contents, if desired.
-
Click on Delete when you are ready to remove the user account.
· How to Search for User Account Information
- Use User Account Manager's Find command to search for a user account in a large NIS/NIS+ passwd file by user name, user ID, or comment.
-
-
Click on the Find button in the control area.
-
Fill in the Find User window with unique information about the user.
-
Click on Find.
The user entry, if found, will be highlighted in the main window.
|
|