Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)
10 Managing With the Shell
The shell is the interactive interface to the Open System Services (OSS) environment. The OSS shell
is a UNIX Korn shell. This chapter describes how to set up the shell to best serve your users.
Information about using the shell is in the Open System Services User’s Guide. Reference information
is in the sh(1)reference page either online or in the Open System Services Shell and Utilities
Reference Manual. Read the reference page to make sure that the shell feature you want to use is
available and behaves in the way you expect.
Beginning with the J06.14 and H06.25 RVUs, the bash shell and additional Open Source utilities
and tools are supported. For detailed information about the bash shell, including the initialization
files used for login shells, see the bash(1) reference page. (See “Viewing OSS Core Utilities
Reference Pages” (page 244) for details of viewing the bash(1) reference page.)
NOTE: Beginning with the G06.08 release version update (RVU), many OSS shell utilities that
had been unsupported became formally supported and were moved from the /bin/unsupported
directory to the /bin directory. HP recommends modifying any application program or site-written
shell script that uses a utility in /bin/unsupported to use the version in /bin when such a
version exists.
OSS Management With the Shell
Managing the OSS environment with the shell involves:
• Customizing the OSS shell to make using it convenient for your users. You do this by:
Offering a default .profile file for your users, as described in “Setting Up a Default
.profile File” (page 236)
◦
◦ Including commands and setting variables and options in the /etc/profile file, as
described in “Setting Up an /etc/profile File” (page 236)
◦ Making sure that tracked command aliases are used, as described in “Adding Commands
for User Convenience” (page 237)
◦ Ensuring access to all needed online reference material, as described in “Controlling
Reference Page Searches and Display” (page 237)
◦ Offering localization features, as described in “Localizing Software” (page 238) and
“Localizing Reference Pages” (page 240)
• Monitoring the OSS environment to maintain optimal performance as described in “Monitoring
the OSS Environment With the Shell” (page 241).
• Finding and removing unwanted files, such as old temporary files and large files that have
not been accessed in a long time, as described in “Controlling the Growth of Directories”
(page 241).
• Defragmenting disks periodically as described in “Defragmenting Disks” (page 242).
The OSS environment does not support the /etc/passwd file. You add users, modify their
attributes, delete them from the system, and alter various security attributes through either a
third-party product or the Safeguard subsystem, run from the Guardian environment, as described
in “Managing Users and Groups” (page 204).
Beginning with the J06.16 and H06.27 RVUs, a suite of user management utilities are provided
for creating, modifying, and deleting user accounts from the OSS environment. For details of these
OSS user management utilities, see “User Management Tools on OSS” (page 210).
OSS Management With the Shell 235