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
HP-UX System Administration Tasks: HP 9000 > Chapter 1 Setting Up a System

Learning about the System Administration Manager (SAM)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The System Administration Manager (SAM) is an HP-UX tool that provides an easy-to-use user interface for performing setup and other essential tasks. SAM helps you with the administration of:

  • Auditing and security

  • Backup and recovery

  • Cluster configuration

  • Disks and file systems

  • Kernel configuration

  • Networking and communications

  • Peripheral devices

  • Printers and plotters

  • Process management

  • Routine tasks

  • Run SAM on remote systems

  • SD-UX software management (selected tasks via the "Software Management" menu)

  • Time

  • User and group accounts

For more information on SAM's capabilities, use the online help once SAM is running.

Using SAM versus HP-UX Commands

Using SAM reduces the complexity of most administration tasks. SAM minimizes or eliminates the need for detailed knowledge of many administration commands, thus saving valuable time. Use SAM whenever possible, especially when first mastering a task. Some tasks described in this manual cannot be done by SAM, in which case you will need to use the HP-UX commands. However, SAM is the tool of choice for most administration work.

Starting SAM

To use SAM, SAM must be installed on your system. If you did not originally install SAM and want to use it, refer to Managing HP-UX Software with SD-UX . Before starting SAM, make sure the environment variable LANG is set to C (see sam(1M) for details).

To start SAM, enter

sam

You can also start SAM with the /usr/sbin/sysadm command, which is equivalent to executing /usr/sbin/sam. See sysadm(1M) for details.

For help in using SAM, select the "Help" button.

Using SAM with an X Window System

To use SAM with an X Window System, the X11-RUN fileset must be installed and the DISPLAY environment variable must be set to reflect the display on which you want SAM to appear. (The DISPLAY variable will usually be set unless you used rlogin to log into a remote system.) To view the current settings of the environment variables, enter

env | more 

The DISPLAY environment variable is usually set in the .profile file for Korn and POSIX shells and in the .login file for the C shell as follows:

DISPLAY=hostname:0.0 (Korn and POSIX shell) 
export DISPLAY
setenv DISPLAY hostname:0 (C Shell)

where hostname is the name returned by the /usr/bin/hostname command.

Using HP VUE

Some of the tasks in this manual can also be done using HP VUE. Refer to HP Visual User Environment 3.0 User's Guide for information.

Using SAM with a Text Terminal

A text terminal is a combination video display/keyboard for which SAM has a special interface. Instead of using a mouse to navigate through the SAM screens, use the keyboard to control SAM's actions.

To use SAM with a text terminal, the DISPLAY environment variable must not be set.

Using SAM for Remote System Administration

Using SAM, you can administer multiple remote systems from one location. To add or remove remote systems, select the "Run SAM on Remote Systems" menu item.

Granting Users Limited Access to SAM

As system administrator, you can give limited superuser access to non-superusers by entering

sam -r

This activates the Restricted SAM Builder, which allows you to enable or disable selected SAM areas for users.

For each user given restricted access, SAM creates a file /etc/sam/custom/login_name.cf that defines the user's SAM privileges. SAM uses this file to give users access to the indicated areas.

When users execute SAM, they will have superuser status to the areas you defined and will only see those SAM areas in the menu. Areas that do not require superuser status (such as SD) will also appear and will execute using the user's ID. Any other area will not appear. If non-superusers without SAM privileges try to run SAM, they will receive a message that they must be superuser to execute SAM.

When running restricted versions of SAM, there are no shell escapes on terminals and the list menu is disabled. This prevents users from getting superuser access to restricted areas of SAM. You can also add your own applications to SAM and set them up for restricted access.

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