Template Initialization Files
Template initialization files store the templates of user-level initialization files. Users can customize their environments by copying these template files to their home directories and modifying them.
The /etc/skel directory contains the following template files for the user-level initialization files:
local.profile
local.login
local.cshrc
The local.profile is copied to the .profile file in the home directory of the Bourne and the Korn shell users. Listing 7.2 shows a sample local.profile file in the /etc/skel directory.
Listing 7.2. A Sample /etc/skel/profile File
# ident "@(#)local.profile 1.10 01/06/23 SMI" stty istrip PATH=/usr/bin:/usr/ucb:/etc:. export PATH # # If possible, start the windows system # if [ ... |
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.