My auth.log has timestamps for London, how to change that to report in Denver time?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @brucebouck,
Most probably that’s your server’s timezone. You’ll need to change it using SSH. SSH to your droplet,
ssh root@YourDropletIp
As soon as you are in, you can check your timezone using the timedatectl command. The system timezone is configured by symlinking /etc/localtime to a binary timezone identifier in the /usr/share/zoneinfo directory. Alternatively, you can also check the current system’s timezone by displaying the contents of the /etc/timezone file.
cat /etc/timezone
There are a few possibilities to change the timezone. The first one is using timedatectl
timedatectl list-timezones
You’ll something like
Europe/Oslo
Europe/Paris
Europe/Podgorica
Europe/Prague
Europe/Riga
Europe/Rome
Europe/Samara
Once you identify which time zone is accurate to your location, run the following command:
sudo timedatectl set-timezone your_time_zone
For example, to change the system’s timezone to Europe/Rome:
sudo timedatectl set-timezone Europe/Rome ```
Run the timedatectl command to verify the changes
Regards, KFSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.