4
votes
3answers
318 views

Disable daylight saving time in Debian Linux

I do not want my system to use daylight saving time. root@ali-debserver:~# cat /etc/timezone Asia/Tehran root@ali-debserver:~# cat /etc/default/rcS # # /etc/default/rcS # # Default settings for the ...
2
votes
3answers
74 views

Timezone setting in Linux [closed]

I'm setting the timezone to GMT+6 on my Linux machine by copying the zoneinfo file to /etc/localtime, but the date command is still showing the time as UTCtime-6. Can any one explain to me this ...
3
votes
2answers
146 views

How to get time synced outputs (different timezones on servers)?

So imagine there are ~100 servers with different timezones (not all diff., but many-many timezones). There are outputs on the server logs like: server1:BFE4C025 0420201413 P H sysplanar0 ...
1
vote
1answer
1k views

How to set tz and date without restart in Debian Squeeze?

I've tried tzselect and all it appears to do is tell me what region I want to pick. I'm trying to change tz without a restart and for all users, then sync the time accordingly.
1
vote
2answers
13k views

How can I set the time in Centos so that resetting the OS doesn't revert to its default value?

I have a VPS running on Cent Os 5.8 (x86). There are situations in which we are forced to reset the entire VPS (it hangs and the only way to get it back on is to reset it). When we do so, the time is ...
4
votes
1answer
864 views

bash terminal [\t] (time) is not same timezone as 'date'

In my .bashrc file I configured how I would like my prompt to be displayed. My .bashrc is sourced in .bash_profile. The command in the .bashrc file is: PS1='[\t] \u@\h is $PWD :: ' I switched the ...
4
votes
1answer
369 views

Querying the current time of a city from terminal

I have friends all over the globe and before calling them I need to know their current time. Is there an application in Linux where one can query a city (if exists) in terminal (something like this): ...
4
votes
2answers
2k views

/etc/shadow date of last password change—UTC or local time?

man 5 shadow gives the following description of the third field in each line: The date of the last password change, expressed as the number of days since Jan 1, 1970. The value 0 has a ...