I'm trying to fix a date&time problem in my Ubuntu 17.04 but I cant't find mentioned file /etc/default/rcS. I find only this path /etc/rcS.d but I think it has nothing to do with UTC default setting. I'm looking for option UTC=yes/no.


Ubuntu 17.04+ is using systemd. To set your time to local run

timedatectl set-local-rtc 1 --adjust-system-clock

The /etc/default/rcS is for older Ubuntu releases that use upstart.

| improve this answer | |
  • Yes, it's what I was looking for. – glc78 Aug 10 '17 at 12:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.