[mod.computers.masscomp] making the masscomp give the right time

masscomp-request@soma.UUCP (04/05/87)

During the month of April, many machines running unix will have the incorrect
time. This is due to recent legislative changes in when Daylight savings
time starts. Here are the changes you need to make to your Masscomp
to get it to give you the correct time [assuming that your area observes
Daylight Savings Time!!].

1. Become the super-user.

2. cd /usr/uts

3. Load the configuration file for your system into your favorite editor.

4. Look for the lines that begin with "timezone", "dstflag", "timstr" and
"dtimstr".  Place a * followed by a space in front of each of these lines.
It might look like this:
* timezone 360
* dstflag  1
* timstr   "CST"
* dtimstr  "CDT"

5. Now add two lines to the file. The first line will begin with
timezone. Insert a couple of spaces and then take the number by
the original timezone entry (like 360 above) and subtract 60 from it.
Place this number after the new timezone entry you just started.

6. The last line to add begins with timstr. Follow that with a couple
of spaces and then copy the end of the line dtimstr you comments out earlier.

The new two lines might look like this:

timezone 300
timstr "CDT"

7. Now, rebuild the kernel and install the new unix. Read section 3.1 in
your System Management Guide for details. 

You will want to back out these changes on the last Saturday of April.

Stan

[Addtional note: Be sure that your users do NOT setenv TZ something in their
.login files or this will not be effective for those users! -- sob]