Timezone

HI ;
I got Solaris8 installed oon Sunfire V440 .I have TZ=GMT in /etc/TIMEZONE , but when i log in as root i see the date in GMT+1.
So i have every time to "set TZ=GMT ; export $TZ" .
How can i set the TZ=GMT at the startup defenitely.
Thanks
:slight_smile:

Maybe under /etc/profile set this variable TZ and export the same.

Is TZ set in /etc/profile or in your login profile? grep for "GMT1"

hi ;
there is no .profile file in / , so i will check it in /etc/profile because the TIMEZONE is set et the login . :confused:

hi ,
I didn't find any .profile, .login , .cshrc , ;kshrc in / .
TZ=GMT in /etc/default/init
But echo $TZ gives MET
any suggestions ?
Thanks

I do not know Solaris, but you have to find where TZ is defined at login and set it correctly. A lot of unix systems have /etc/profile.

setenv TZ="GMT"
or 
TZ="GMT"
export TZ

In Solaris TZ variable is defined in /etc/TIMEZONE file
use manpage TIMEZONE

/etc/TIMEZONE is just a symlink to /etc/default/init

Cheers
ZB