Root SSH Access to CentOS Machine (Root Needed to change TimeZone)Ĭheck Current Date, Time and TimeZone in CentOS 6/7.
Locate the correct timezone you need that is in the central timezone. List all the available timezones using the below command: timedatectl list-timezones. (Execute the below commands as root user) 1. After some Googling it appeared that all I needed to do was copy over the desirec zoneinfo file to /etc/localtime and edit the /etc. Wondering about TimeZone of your CentOS Machine and want to change it? Let’s follow this small guide to check and change current TimeZone in CentOS 6 and Centos 7. Follow the below steps to change the timezone to CST. I was needing to change the timezone on a CentOS 5.1 (but upgraded to 5.3) machine that doesnt have X installed nor did it (initially) have the system-config-date package installed.