[Trac #669] rdate or ntpdate for testing

Zarro Boogs per Child bugtracker at laptop.org
Mon Jan 8 04:48:34 EST 2007


#669: rdate or ntpdate for testing
-------------------------+--------------------------------------------------
 Reporter:  Quozl        |        Owner:  blizzard 
     Type:  enhancement  |       Status:  new      
 Priority:  low          |    Milestone:  Untriaged
Component:  distro       |   Resolution:           
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by Quozl):

 Replying to [ticket:669 Quozl]:
 > ''date'' can be used over ''ssh'' to set the time roughly.

 After changing the ''root'' password and adding a public key to
 /root/.ssh/authorized_keys, this fragment sets the clock:

 {{{
 for x in 10.0.0.{197,198,199}; do
    ssh root@$x "date --utc `date --utc +%m%d%H%M%Y.%S` ; hwclock
 --systohc"
 done
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/669#comment:1>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list