* shell reported time different for root , and user ...
@ 2008-01-29 9:55 terry white
2008-01-29 10:50 ` Adam T. Bowen
0 siblings, 1 reply; 3+ messages in thread
From: terry white @ 2008-01-29 9:55 UTC (permalink / raw)
To: linux-admin
... ciao:
i have a prompt that looks like:
"yossarian - 01:35:40 - tty8
[ root ] /usr/share/zoneinfo
#"
on another system. 'date' offers the correct time. however, when i
login as 'twhite' the time given is UTC, but 'date' offers the correct
time.
i've made "localtime" 'America/Los_Angeles', and 'PST8PDT", with
"etc/sysconfig/clock" set as both the above, and still unable to get
it to work, and worse yet, figure out what i'm missing.
this a fresh install with sources from october of last year.
any thought much appreciated ...
--
... i'm a man, but i can change,
if i have to , i guess ...
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: shell reported time different for root , and user ...
2008-01-29 9:55 shell reported time different for root , and user terry white
@ 2008-01-29 10:50 ` Adam T. Bowen
2008-01-29 16:05 ` terry white
0 siblings, 1 reply; 3+ messages in thread
From: Adam T. Bowen @ 2008-01-29 10:50 UTC (permalink / raw)
To: linux-admin
terry white wrote:
> i have a prompt that looks like:
>
> "yossarian - 01:35:40 - tty8
> [ root ] /usr/share/zoneinfo
> #"
>
> on another system. 'date' offers the correct time. however, when i
> login as 'twhite' the time given is UTC, but 'date' offers the correct
> time.
>
> i've made "localtime" 'America/Los_Angeles', and 'PST8PDT", with
> "etc/sysconfig/clock" set as both the above, and still unable to get
> it to work, and worse yet, figure out what i'm missing.
Has twhite got a timezone set using the TZ environment variable? You
could try putting a couple of date commands in the shell rc file around
where you set the prompt and see what timezone is reported when you
start a new shell.
What is your /etc/localtime file set to? If it is a soft-link what
timezone file is it pointing to? If it is a binary file, what does:
tail -1 /etc/localtime
give you?
Cheers
Adam
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: shell reported time different for root , and user ...
2008-01-29 10:50 ` Adam T. Bowen
@ 2008-01-29 16:05 ` terry white
0 siblings, 0 replies; 3+ messages in thread
From: terry white @ 2008-01-29 16:05 UTC (permalink / raw)
To: linux-admin
... ciao:
: > on "1-29-2008" "Adam T. Bowen" writ:
: If it is a binary file, what does:
: tail -1 /etc/localtime
PST8PDT,M3.2.0,M11.1.0 ...
--
... i'm a man, but i can change,
if i have to , i guess ...
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-29 16:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-29 9:55 shell reported time different for root , and user terry white
2008-01-29 10:50 ` Adam T. Bowen
2008-01-29 16:05 ` terry white
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).