isolation
Rick Stevens
rstevens at vitalstream.com
Mon Oct 25 17:42:44 UTC 2004
roland brouwers wrote:
> Bob McClure Jr wrote:
>
>>On Sat, Oct 23, 2004 at 09:59:23PM +0200, roland brouwers wrote:
>>
>>
>>>>Now that I have you on line, a little other question:
>>>>How can I change the Timezone for the server and for the user?
>>>
>>>The easiest way is, as root, use "redhat-config-time". Tbis is the
>>>same tool that was used initially if you installed in GUI mode.
>>>
>>>When it comes up, click on the "Timezone" tab and select your desired
>>>timezone.
>>>
>>>Okt the 23th:
>>>
>>>I did what you suggested and put the server on timezone: Paris.
>>>When I login with the user roland I get a time 7 hours less.
>>>I mean, if I get out of my program to the shell, the date command
>>>delivers the right time. Back into my program I get 7 hours less.
>>>Isn't there a variable, in bash_profile, which can be set to the
>
> correct
>
>>>timezone.
>>
>>
>>You may need to reboot the machine for the timezone change to affect
>>all processes on the machine.
>
>
> Yes, you must do a reboot. Sorry I didn't mention that.
>
> As I said, I did a reboot. Isn't there any variable that can be set for
> the user, in his home profile?
> What do you do when the server is in New-york and the workstation is in
> Belgium?
>
> I just wonder.
There is a system-level timezone (see /etc/sysconfig/clock) that sets
the time for the whole system. Each user can set an individual "TZ"
environment variable in their profile (.bash_profie or .bashrc or
whatever) should they wish to.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- "Hello. My PID is Inigo Montoya. You `kill -9'-ed my parent -
- process. Prepare to vi." -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list