Does anyone know how (or if it is possible) to set a separate timezone for different SSH users (or screens)? I am trying to figure out a way to run processes in different time zones, so that the time stamps on the logs are easier to decode, for users in different time zones. I am aware that it is possible to run java processes in a different time zone by launching them with the argument "-Duser.timezone=GMT",
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
Just let each user set the timezone they want in their
and in another user's
|
|||
|
|
|
different shells may have different syntaxes, but in bash we just do this: export TZ="/usr/share/zoneinfo/EST" go to that directory for a list of timezone names. |
|||||||
|