Solved

Red Hat Enterprise Linux 4 reports incorrect time zone via telnet

Posted on 2007-03-19
7
323 Views
Last Modified: 2013-12-16
Since the new DST went into effect, my Red Hat Enterprise ES 4 machines have the correct system time reflected as being in EDT (eastern daylight time).

However, if you telnet into the same machine, the time is reported one hour slow, with EST (eastern standard time) showing before the year.

An SSH session to the same machine reports the time correctly as EDT.

Is there another update I need for these systems?  I have already made the appropriate DST patches.

Thanks.
Travis
0
Comment
Question by:travbeav
  • 4
  • 3
7 Comments
 
LVL 48

Expert Comment

by:Tintin
ID: 18751884
Are you saying that when you login via telnet and run the 'date' command, it shows the timezone as EST and when you login via ssh and run the 'date' command it shows the timezone as EDT?

Are you logging in as the same user?
0
 

Author Comment

by:travbeav
ID: 18751928
Yes, you are correct.

When logged into the terminal as root, the date command shows up as EDT. Any telnet session shows up as EST.

We have submitted a sys report to Red Hat, but I was hoping someone could give me an answer sooner. The machine has already been rebooted. It is effecting all of our RHEL 4 machines.....note: these were already patched for DST a few weeks ago.
0
 
LVL 48

Accepted Solution

by:
Tintin earned 500 total points
ID: 18752141
If you login as a standard user on the console, do you still get EST?

I'm wondering if you have TZ setting hardcoded in the root profile or /etc/profile or similiar.
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:travbeav
ID: 18758598
Hi everyone,

We have narrowed down the problem. Only users who authenticate with WINBIND (against our Win2k active directory) are experiencing this problem.  Local accounts to the box (including root) do not have this issue.

Again, the issue is as follows:  when issuing the DATE command, local users get "EDT" which is the correct TZ. If a winbind user logs in, they get "EST" as their time zone, and the system time is rolled back one hour for these users.

Any ideas on how adjust TZ settings for users authenticating with WINBIND?

Thanks,
Travis
0
 

Author Comment

by:travbeav
ID: 18901898
One of our engineers had entered a manual "set TZ EST" entry into the common cshrc file that everyone uses, overriding the EST of the actual system clock. I finally found the problem.

Please go ahead and close this question out.
0
 
LVL 48

Expert Comment

by:Tintin
ID: 18902014
Well, I guess I was on the right track when I mentioned checking /etc/profile.

Do all your users have csh or tcsh as their default shell?  That's certainly unusual.
0
 

Author Comment

by:travbeav
ID: 19080496
Yes, the engineers here love csh and that's all they use.  

I will accept your answer as you did mention checking the user's profile.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help With Shell Script Centos 6 6 68
centos linux 65 155
SonarQube on Linux vs Windows 3 51
android secure ftp 3 50
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

808 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