| United States-English |
|
|
|
![]() |
HP-UX System Administration Tasks: HP 9000 > Chapter 1 Setting Up a System Learning about the System Administration Manager (SAM) |
|
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:
For more information on SAM's capabilities, use the online help once SAM is running. 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. 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
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. 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
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:
where hostname is the name returned by the /usr/bin/hostname command. 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. 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, you can administer multiple remote systems from one location. To add or remove remote systems, select the "Run SAM on Remote Systems" menu item. As system administrator, you can give limited superuser access to non-superusers by entering
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. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||