Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Configuring a System
Controlling Access to a System
Chapter 3246
Allow user to log into other systems without a password. See
“$HOME/.rhosts file” on page 386.
Import remote directories using NFS. See “Sharing Files and
Applications via NFS and ftp” on page 394.
Give remote access to a user. See “Allowing Access to Remote
Systems” on page 386.
Set up the user’s login environment. See “Customizing System-Wide
and User Login Environments” on page 270.
Test the new account.
Using SAM to Add
a User
If you are adding a user on a remote machine, before using SAM, type
the following commands on your local machine:
/usr/bin/X11/xhost +
remote_machine
export DISPLAY=
your_local_machine
:0.0
Step 1. Start SAM
To start SAM, you can either
type /usr/sbin/sam
or
use CDE and access the Application Manager, double-click on
System_Admin and double-click on SAM.
Step 2. Choose:
1. Accounts for Users and Groups
2. Users
3. Add... from the Actions menu
Step 3. Fill in the text fields. Use a unique User Identification (UID). Your
facility may have a program to determine unique UIDs.
Step 4. Click on Primary Group Name... and add the user to the primary and
other groups.
Step 5. Click OK. This opens the password window. Type a password and click OK.
Enter the password when requested and click OK.
Step 6. Click OK on the Note dialog box.