Results 1 to 4 of 4

Thread: Change Ubuntu hardware clock to 'local' time

  1. #1
    Join Date
    Dec 2013
    Beans
    19

    Change Ubuntu hardware clock to 'local' time

    I have read multiple articles about changing Ubuntu hardware clock to 'local' time to fix an incompatability with clock settings in dual boot (Windows/Ubuntu) systems. I am guessing the "edit" command is entered in Terminal and that you must be at the Root partition? If correct, can someone tell me how to navigate to the Root partition? Thanks.

    Make Linux use 'Local' time


    To tell your Ubuntu system that the hardware clock is set to 'local' time:

    1. edit /etc/default/rcS
    2. add or change the following section # Set UTC=yes if your hardware clock is set to UTC (GMT)
      UTC=no
    Last edited by s.boone35223; December 20th, 2013 at 04:35 AM.

  2. #2
    Join Date
    Jul 2007
    Location
    Tāmaki Makau-rau, NZ
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Change Ubuntu hardware clock to 'local' time

    You need to have root privileges, which means using sudo.

    For example:

    Code:
    sudo nano /etc/default/rcS
    and enter your login password. You won't see any *** symbols when you type it, but it's still working.

    If you want to do it in two steps, you can
    Code:
    cd /etc/default     ##takes you to the directory
    sudo nano rcS
    nano is a code editor that works in the terminal. There are other terminal editors, but nano is probably easier for a beginner than some of the others.
    BACKUPS are unsexy — until you discover you should have done one yesterday.
    Spare your nerves and do one before you upgrade or install.

  3. #3
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Change Ubuntu hardware clock to 'local' time

    In case it isn't apparent, after making edit in nano -
    ctrl+o
    enter key
    ctrl+x

  4. #4
    Join Date
    Dec 2013
    Beans
    19

    Re: Change Ubuntu hardware clock to 'local' time

    Thank you. Both responses did the trick.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •