Defaults for system-wide variables, such as time-zone
setting, terminal type, search path, and mail and news notification,
can be set in /etc/profile for POSIX and Korn
shell users and in /etc/csh.login for C shell
users.
User login scripts can be used to override the
system defaults. When HP SMH or useradd adds a
user, default user login scripts are copied to the user’s home
directory from the skeleton directory, which defaults to /etc/skel. See “Changing the Skeleton Directory”. The POSIX and Korn shells use .profile. The C shell uses .login and .cshrc. See the Shells: User’s
Guide and the Technical Addendum to the Shells:
User’s Guide for information on customizing user
login scripts.
|
| |
|
| NOTE: Do a full backup once you have initially set up
and customized your system. This allows you to reconstruct your system
— kernel, system files, file system structure, user structures,
and your customized files — if you need to. Use HP-UX commands
to perform the backup, as described in the HP-UX System
Administrator’s Guide: Routine Tasks. |
|
| |
|