edit date on server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kenny
    Confirmed User
    • Mar 2002
    • 7245

    #1

    edit date on server

    I have a server with the time way off. Can I edit the time with root access?

    edit: typo
    7
  • funkmaster
    So Fucking Banned
    • Sep 2001
    • 7938

    #2
    yes

    man date

    Comment

    • kenny
      Confirmed User
      • Mar 2002
      • 7245

      #3
      Thanks
      7

      Comment

      • funkmaster
        So Fucking Banned
        • Sep 2001
        • 7938

        #4
        pleasure!

        btw: if you add this to your /etc/rc.conf

        ntpdate_enable="YES"
        xntpd_enable="YES"

        and also add this file /etc/ntp.conf with the following contents:

        server our.public-ntp.server
        driftfile /var/db/ntp.drift



        -> get some public ntp servers here:http://www.eecis.udel.edu/~mills/ntp/servers.html



        ... if you do all the above, your server will sync after the next reboot ...

        Comment

        • kenny
          Confirmed User
          • Mar 2002
          • 7245

          #5
          Ok, I apologize I am a little confused by your last post. If I do this to my server what exactly does it do? Does this make the date perfect?
          7

          Comment

          • mike503
            Confirmed User
            • May 2002
            • 2243

            #6
            uname -a

            paste the output.
            php/mysql guru. hosting, coding, all that jazz.

            Comment

            • psyko514
              See sig. Join Epic Cash.
              • Oct 2002
              • 22366

              #7
              format c:?

              Bad Girl Bucks
              - 50% Revshare through CCBill.
              Promote BrandyDDD, Pixie's Pillows, Action Allie and more!

              Phoenix Forum Pics | Webmaster Access Montreal pics
              email: psyko514(a)gmail.com | icq: 214-702-014

              Comment

              Working...