Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-02-2007, 01:00 AM   #1
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
sync time from windows server

I would like to sync the system time from windows server to linux server , I know rdate -s may sync from other linux server , if I want from windows server , can advise what I need to do on windows side ? thx
Old 10-02-2007, 11:34 AM   #2
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 199

Rep: Reputation: 29
Well the best way would be getting rdate to work with Windows. If you don't have Cygwin on your Windows server, then you can follow the instructions that will allow you to get sshd up and running under Windows at

I'm actually not sure if rdate is installed by default. I don't have a Windows computer handy to check.

The instructions are written for XP but I used them equally well with 2000. If you have 2003 then follow the link in the 2nd paragraph on the above site. These will not work with 98 since, as far as I know, it doesn't recognize 'services' and instead uses 'background' processes (?)

When editing the environment variables you can add them as user variables (as opposed to system variables) only if
- you boot up the computer to your user account, or
- you want only your user account to be able to use sshd.
Note that all users will still have access to Cygwin though...

After you get sshd running you can log on from the linux computer, using for example ssh. Now you can synchronize the two computers the same way two linux boxes could be synchronized.
Old 10-02-2007, 11:59 AM   #3
Registered: Aug 2002
Posts: 16,027

Rep: Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851Reputation: 1851
I found an rdate for windows but can not vouch for how well or if it works.

Even though rdate is a much simpler protocol I would use ntp instead of rdate since no extra software is required for window to become an ntp server.

Last edited by michaelk; 10-02-2007 at 12:01 PM.
Old 10-03-2007, 05:01 AM   #4
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
thx reply ,

I have read the above acticle , when I setup the sync time from windows server , it needs to install sth on windows , so I think it is suit for me , if I want to sync the time from internet , can advise what can I do ? thx


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set and sync system time with time server?? servnov Linux - Newbie 6 12-03-2013 07:55 PM
NTP time sync with windows 2000 AD time csghosh Linux - Enterprise 7 02-24-2012 03:46 PM
Time Sync... JB009 Linux - General 8 08-19-2006 12:02 PM
Time server needed to sync clock, CDT harisund Linux - General 2 10-05-2005 10:56 AM
Sync Time with NetWare server tstx1 Linux - Networking 1 09-20-2003 06:55 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration