TAILIEUCHUNG - Intermediate System Administration for the Solaris 10 Student Guide phần 7

Bảng 9-1 cấp độ hệ điều hành Solaris Run Run Cấp 0 hoặc S 1 2 nhiều người sử dụng duy nhất người sử dụng hệ thống mốc Chức năng chạy màn hình PROM. Solaris hệ điều hành một chế độ người dùng với các hệ thống tập tin quan trọng gắn kết và truy cập. | Managing User Accounts Table 10-7 Key Options for the usermod Command Continued -e expire Sets an expiration date on the user account. Specifies the date mm dd yy on which a user can no longer log in and access the account. After that date the account is locked. loginname Identifies the user s login name for the current user account. The following example changes the login name and home directory for newuserl to usera. usermod -m -d export home usera -l usera newuserl The smuser modify Command Format and Options The following is the command format for the smuser modify command smuser modify auth_args -- subcommand_args In general the options for the smuser modify command function the same as for the smuser add command. Refer to the smuser lM man page for additional options. Table 10-8 shows the options for the smuser modify command. Table 10-8 Options for the smuser modify Command Option Definition -n login Specifies the user s login name -N login Specifies the user s new login name The following example changes the login name and home directory for newuser2 to userb. usr sadm bin smuser modify -- -n newuser2 -N userb -d export home userb Authenticating as user root Type for help pressing enter accepts the default denoted by Please enter a string value for password Enter_The_root_Password Loading Tool from sys-02 Login to sys-02 as user root was successful. Download of from sys-02 was successful. Performing User Administration 10-21 Copyright 2005 Sun Microsystems Inc. All Rights Reserved. Sun Services Revision Managing User Accounts Deleting a User Account Use the userdel command or smuser delete command to delete a user s login account from the system. The following is the command format for the userdel command userdel -r login The userdel command also removes the user s home directory and all of its contents if you request it to do so. Use the -r option to remove the user s .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.