cancel
Showing results for 
Search instead for 
Did you mean: 

TIME ZONE issue

 
samay
Occasional Visitor

TIME ZONE issue

I have time zone issue when i am logging in su - oracle its showing in CDT while other user is doing when su - oracle its showing in MDT the host is same.could you help me please.
version of is hpuxB.11.31 U ia64.
4 REPLIES
Jeeshan
Honored Contributor

Re: TIME ZONE issue

>>I have time zone issue when i am logging in su - oracle its showing in CDT

from which user? root?

if so then post the output of "env" of root.

check the Time Zone related entry in all user's .profile, /etc/profile, /etc/default/tz and /etc/TIMEZONE file.
a warrior never quits

Re: TIME ZONE issue

>I am logging in su - oracle, it's showing in CDT while other user is doing when su - oracle, it's showing in MDT

If two users are both using "su - oracle" they should have the same environment and the same TZ variable.

Unless it is somehow looking at the source IP address and it has a GPS to know where that is located. ;-)
Bart Paulusse
Respected Contributor

Re: TIME ZONE issue

Are you sure both of you are using su - oracle and that one of you isn't using su oracle (without minus)?
V. Nyga
Honored Contributor

Re: TIME ZONE issue

Hi,

can you post us 'env|grep TZ' of the users before and after su-ing?

Volkmar
*** Say 'Thanks' with Kudos ***