Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Focus-Sun
[Top] [All Lists]

Re: Solaris 2.7 Daylight saving time fix.

Subject: Re: Solaris 2.7 Daylight saving time fix.
Date: Mon, 15 Jan 2007 11:52:40 PST
You can clone the relevant parts of a working patch for Solaris 8
with a short shell script (worked fine on Solaris 2.6 and Solaris 7).

        -KF

#!/bin/sh
## shell script hack to force solaris DST zonefile updates
##  - use cat to preserve hard links between zonefiles
##  - only update pre-existing files
## unpack Solaris 8 DST patch 109809-04 under /var/tmp/
## then run this script on Solaris 2.6 / 7 systems
## Keith Farrar <kfarrar@parc.com>

cd /var/tmp/109809-04/SUNWcsu/reloc/usr/share/lib/zoneinfo

# for f in `find Mideast -type f -print`
for f in `find * -type f -print`
do      if [ -f  /usr/share/lib/zoneinfo/$f ]; then
                cat $f > /usr/share/lib/zoneinfo/$f
                ls -lg /usr/share/lib/zoneinfo/$f
        fi
done




lcashdol@gmail.com wrote:
Hi,
   I am working on getting Solaris 2.7 compliant with the new DST changes for 
March 2007.  I downloaded the latest updates from:

wget ftp://elsie.nci.nih.gov/pub/tz*.tar.gz

Ran zic on northamerica
Then tested with a zdump:


zdump -v EST5EDT |grep 2007


which still reported April when the DST would occur.  What am I missing? this 
worked for linux.

<Prev in Thread] Current Thread [Next in Thread>