On 3/23/23, Cindy Sue Causey <butterflyby...@gmail.com> wrote: > On 3/23/23, Albretch Mueller <lbrt...@gmail.com> wrote: >> I am using this (yes, visually cr@ppy ;-)) code snippet to set back >> the time 5 hours. hwclock tells me it worked fine but the terminal >> windows opened before and after running hwclock still give me the >> "old" time setting? >> >> _HRS_PM=-5 >> < snipped for brevity > > > just battled this topic a couple months ago but can't remember which > operating system. It was fixed INSTANTLY by creating /etc/adjtime (if > it doesn't already exist) then entering the following: > > 0.0 0 0.0 > 0 > UTC > > Once saved, it takes just a few seconds then, BAM, there it is! > Everything matches.. IF the hardware clock is set to universal time. > < snipped for brevity >
Not quite. I forgot to say you also need to issue the following command afterward: # dpkg-reconfigure tzdata That's where you get to pick your timezone which is the other thing I forgot to mention. I saw Stefan referenced the topic so I wasn't going to create any more noise until I realized I'd left off tzdata. The good news there is the Debian debootstrap link covers that, too: https://www.debian.org/releases/wheezy/amd64/apds03.html.en#idp7856176 Next time I'll try to remember to fully read my own offered resource before hitting "Send". Cindy :) -- Talking Rock, Pickens County, Georgia, USA * runs with birdseed *