Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Using Your HP Workstation > Chapter 14 Getting Started with HP-UX Commands

Creating a New User Account

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

User accounts allow users to log in to the system and use its resources. Only the superuser can create new user accounts. If an account has been created for you already, you do not need to create one. For additional security, you may also require that a user enter a password during the login process.

To create new user accounts, use the system administration tool SAM (System Administration Manager).

  1. Log in as superuser (type root and press Enter, then type the password and press Enter).

  2. Type /usr/sbin/sam and press Enter.

  3. The SAM main window appears. Select "Users and Groups".

  4. The "Users and Groups" menu opens. Select "Users".

  5. The "Users" window opens. Select the "Actions" menu.

  6. In the "Actions" menu, choose the "Add..." menu selection.

  7. The "Add a User Account" window opens. Type the name for the new user account in the "Login Name" field (the login name is the same as the user name).

    SAM provides defaults for the rest of the fields in this screen. For information about the fields, select the Help button.

  8. Select OK.

  9. A password window opens. Type the password for the new user account and press Enter.

    NOTE: SAM allows you to set any character string as a password. However, to improve system security you should follow these guidelines:

    A password must contain at least six characters. At least two characters must be alphabetic, and one of those characters must be a number or a special character (such as a dash (-), an underline (_), or an asterisk (*)). The password cannot contain your user name, or even a reversed version of your user name (for example, if your user name is dlm your password cannot contain mld).

    Examples of valid passwords are: wild-life, !secret, and *fuzzy*.

    Make sure you do not forget the password you use. If you forget your password, contact your system administrator, or log in as the superuser and set a new password with the SAM utility. To change your password, see “Changing Your Password”.

  10. You are requested to re-enter the password. Type the password exactly as you entered it the first time. Press Enter again.

  11. The "Users and Groups" window reappears. Press f8 (labeled "Exit").

  12. Press f6 (labeled "Exit SAM"). The SAM window closes.

  13. Log out as root, then log back in using your regular user account.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© © 1983-1995 Hewlett-Packard Development Company, L.P.