Wednesday, July 27, 2011

user accounts Setup (AIX)


Use SMIT to create an account for a new user.

Each user account must have a unique UID. If an account already exists on another AIX system, create the new account using the same UID and GID as on the existing system.
When you create a user account using SMIT, you must supply the following information on the Create User form:
  • User NAME, the user name for the account.
  • User ID, the UID that you want to assign to the user.
  • PRIMARY group, the primary GID you want to assign to the user.
  • User Information, the full name of the user.
  • HOME Directory, the full path to the home directory for the user.
  • Initial PROGRAM, the full path and name of the shell that executes when the user logs in to the host (usually /bin/csh or /bin/sh).
Although this form contains other fields, only those in the preceding list are necessary to create a new user. If you want further information about any of the other fields, highlight the field and press F1 key.


Creating a user account


Use the following procedure to create a user account:
  1. Start SMIT by entering:
    smit
  2. From the Main Menu, make the following selections:
    • Security and Users
    • Users
    • Add a User to the System
    The utility displays a form for adding new user information. Use the Up arrow and the Down arrow keys to move through the form. Do not use the Enter key until you are finished and ready to exit the screen.
  3. Fill in the appropriate fields of the Create User form and press the Enter key.The utility exits the form and creates the new user.
After you create a user, you need to add the user to the appropriate groups.


Setting the password for a new user


Use the following procedure to set a password for a new user:
  1. From the SMIT Main Menu, make the following selections:
    • Security and Users
    • Change User Password
    The utility displays a form for entering the name of the new user.
  2. Fill in the user name or use F4 key to highlight a user name and press the Enter key.The utility displays the user name that you selected.
  3. Press the Enter key to enter a new password.The utility prompts you for the new password.
  4. Type the new password and press the Enter key.The system prompts you to reenter the password.
  5. Reenter the password.The system assigns the password when you exit the screen.
Creating an AIX group

Information about AIX groups is stored in the /etc/group file. To create a group, use SMIT:
  1. Start SMIT by entering:
    smit
  2. From the Main Menu, make the following selections:
    • Security and Users
    • Users
    • Add a Group to the System
    The utility displays a form for adding new user information.
  3. Type the group name in the Group Name field and press the Enter key.The group name must be eight characters or less. The utility creates the new group, automatically assigns the next available GID, and exits the form.
Adding a member to a group

First paragraph here
  1. Start SMIT by entering:
    smit
  2. From the Main Menu, make the following selections:
    • Security and Users
    • Groups
    • Change/Show Characteristics of a Group
    The utility displays a form in which you can type the name of a specific group.
  3. Either fill in the group name or use the F4 key to highlight a group name and press the Enter key.The utility displays a form which provides the following:
    • Group NAME, the group name for the account.
    • Group ID, the Group Identification Number (GID).
    • User list, a list of users who are members of the group. Use the F4 key to display a list of available users and the F7 key to mark the users you want to add.
  4. Modify these fields as needed and press the Enter key to exit the form.

1 comment: