Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Configuring a System
Making Adjustments
Chapter 3268
Setting the Time Zone (TZ)
/sbin/set_parms sets your time zone upon booting. If you have to reset
the time zone, you can use /sbin/set_parms. See “Manually Setting
Initial Information” on page 268.
Setting the Time and Date
/sbin/set_parms sets your time and date upon booting. See “Manually
Setting Initial Information” on page 268. If you have to reset the time or
date, you can use SAM or HP-UX commands.
NOTE Hewlett-Packard strongly recommends that you use single-user mode
when changing the system clock. Therefore, warn users of a planned
system shutdown. See “Shutting Down Systems” on page 520 for details
on system shutdown.
CAUTION Changing the date while the system is running in multiuser mode may
disrupt user-scheduled and time-sensitive programs and processes.
Changing the date may cause make (1), cron (1M), and the Source
Control subsystems SCCS, sccs (1), and RCS, rcs (1) to behave in
unexpected ways. Additionally, any Hewlett-Packard or third-party
supplied programs that access the system time, or file timestamps stored
in the file system, may behave in unexpected ways after changing the
date. Setting the date back is not recommended. If changes were made to
files in SCCS file format while the clock was not set correctly, check the
modified files with the val command. See val (1) for details. See
“Potential Problems When Changing the System Clock” on page 267 for
more information.
To use HP-UX commands, follow these steps:
Manually Setting Initial Information
Use this section only if you need to add or modify system parameter
information. Any modifications should be made as soon as possible after
the initial installation.