• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 336
  • Last Modified:

Red Hat Enterprise Linux 4 reports incorrect time zone via telnet

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
travbeav
Asked:
travbeav
  • 4
  • 3
1 Solution
 
TintinCommented:
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
 
travbeavAuthor Commented:
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
 
TintinCommented:
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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
travbeavAuthor Commented:
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
 
travbeavAuthor Commented:
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
 
TintinCommented:
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
 
travbeavAuthor Commented:
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

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now