Solved

Changing TZ on RH Linux

Posted on 1998-06-07
2
194 Views
Last Modified: 2013-12-15
I have a Redhat Linux 4 system running nicely, but I would like to change the default time zone to GMT-5, so that programs like UUCP, Sendmail and pine date stamp the messages correctly. How do I do this?

Thanks in advance,
Nicholas Waltham
0
Comment
Question by:nwaltham
2 Comments
 
LVL 51

Accepted Solution

by:
ahoffmann earned 40 total points
ID: 1627591
check for a  TZ=  definition in the rc-scripts in /etc/rc.d,
usually in  /etc/rc.d/rc.local
0
 

Author Comment

by:nwaltham
ID: 1627592
Thanks for your answer, also I had to install files under the directory /usr/share/zoneinfo to make it all work properly.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question