Customizing the Shell Environment

As discussed earlier, every user who logs on to the server is assigned a default profile. The profile defines the environment in which the user works and can be customized based on user preferences. The profiles of the users are stored as initialization files. These initialization files are executed automatically when a user logs on.

Initialization Files

The initialization files can be classified into two types: system-wide initialization files and user-level initialization files.

The system-wide profile decides the environment for all users logging on for the first time and users who do not have a customized profile. The system-wide profiles for Bourne and Korn shells are stored in /etc/profile and for the C ...

Get Special Edition Using® Solaris™ 9 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.