When I turned on my PC at home in Sun Jan 2 2000, first I typed date
and ...
(surprise!!), my PC was living in 1994. This problem is related to the old
mainboard used by this computer, but it is not necessary to buy a new one (as
other OS users do ;-)
This small page explains what I had to do to set the 2000year date when
turning on my bought-in-1994 old Pentium 75MHz running under RedHat 5.2.
cd /etc/rc.d
#!/bin/sh # This script will set the right date by adding 6 years to the # internal machine-time. date -s "`date --d '+6 years'`"And give it execute permission:
chmod +x rc.y2kThe rc.y2k file set the right date by adding 6 years (this is the case in my PC), but you change this number to your particular case.
you make symbolic links from the corresponding directories to the rc.y2k file
cd /etc/rc.d/rc1.d ln -s ../rc.y2k S02y2k cd /etc/rc.d/rc2.d ln -s ../rc.y2k S02y2k cd /etc/rc.d/rc3.d ln -s ../rc.y2k S02y2k cd /etc/rc.d/rc5.d ln -s ../rc.y2k S02y2k