Re: Time Differences



On 20Jun2007 14:22, Glenn <glenn@xxxxxxxxxxxxxx> wrote:
| I'm trying to figure out why different applications display different times
| on my fully-patched RHEL 4 server. Assume the time at the console is 10:00.
| If I log in remotely using PuTTy, the date command shows the time is 10:00.
| If I create a text file, it also shows it was created at 10:00. If I connect
| via FTP using the same user name and list the text file, the creation time
| shows 15:00. In fact, all the file times are five hours later in the FTP
| window than they are in the PuTTy window. There is another application, a
| print server, that shows all times an hour different from the console time.
| Any idea why the differences, or how to fix them? Thanks. -Glenn.

Your FTP server is not running in your personal default local time.

The underlying system (kernel and on-disc filesystem structures) record
time in seconds since midnight 01jan1970 GMT, and the default time
rendering converts to your local timezone for display purposes.

This is controlled by an envionment variable $TZ on a per-process basis,
and otherwise by a system file with a default is $TZ is not specially
set.

Probably the login process sets $TZ for you and the system default is
not set up.

Try running the system-config-time command from a root shell.
--
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

So the master hit the novice upside the head with the back of his hand.
"Why did you do that!?" "I do not want to have to learn another editor."
And the student was enlightened. - Larry Colen <lrc@xxxxxxxxxx>

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • terminal usability -- using keyboard to select text instead of mouse
    ... Putty has a great facility that lets you double click on part of a the ... I'd then want paste that path onto the command line so I could pass it ... move the cursor above the 'command line' 3 lines. ... with CTRL+ an arrow key, the terminal would reposition the gray box, ...
    (comp.terminals)
  • Re: Scripting In Putty Error
    ... I'm trying desperitly to write code that will work for Putty. ... I'm trying to write a batch file that will launch Putty ... and read a script file which will run a series of commands. ... command' box in the SSH panel of the PuTTY configuration box (see ...
    (comp.security.ssh)
  • Re: ANSI Color with Xterm and SecureCRT
    ... > appearence options to set the foreground and background. ... selection to use black on white as the default when in command mode. ... >> You may do better with PUTTY which comes for free. ...
    (RedHat)
  • Sending commands to SSH
    ... I am trying to create a form that will send commands to a telnet session. ... This session is a PuTTY SSH session. ... How does one associate the running telnet session the the command ...
    (comp.lang.basic.visual.misc)
  • Re: Sending commands to SSH
    ... run a command on another server via PUTTY then you should really be looking ... Using PUTTY will open up a terminal session in the dos window and I am sure ... Dim cell As String ...
    (comp.lang.basic.visual.misc)