home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / sun / misc / 3340 < prev    next >
Encoding:
Text File  |  1992-07-25  |  914 b   |  27 lines

  1. Newsgroups: comp.sys.sun.misc
  2. Path: sparky!uunet!nih-csl!elsie!ado
  3. From: ado@elsie.nci.nih.gov (Arthur David Olson)
  4. Subject: Re: How to change the timezone?
  5. Message-ID: <1992Jul25.222920.7661@alw.nih.gov>
  6. Sender: postman@alw.nih.gov (AMDS Postmaster)
  7. Organization: National Institutes of Health
  8. References: <1992Jul24.191551.22881@socrates.umd.edu> <1992Jul25.101124.15369@ukw.uucp>
  9. Date: Sat, 25 Jul 1992 22:29:20 GMT
  10. Lines: 15
  11.  
  12. > cd /usr/lib/zoneinfo
  13. > cp <your timezone file> localtime
  14.  
  15. It's dangerous to do this; some systems implement "localtime" as a link
  16. to the file that describes the local time zone ("US/Eastern", for example);
  17. and if you, for example
  18.     cp US/Pacific localtime
  19. you end up overwriting both localtime and "US/Eastern" with "US/Pacific".
  20.  
  21. Doing a
  22.     zic -l <your timezone name>
  23. avoids the problem.
  24. -- 
  25.         Arthur David Olson    ado@elsie.nci.nih.gov
  26.         ADO and Elsie are Ampex and Borden trademarks
  27.