LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

Rep: Reputation: 31
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
ordealbyfire83
Member
 
Registered: Oct 2006
Location: Leiden, Netherlands
Distribution: LFS, Ubuntu Hardy
Posts: 302

Rep: Reputation: 89
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 http://pigtail.net/LRP/printsrv/cygwin-sshd.html

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
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,750

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
I found an rdate for windows but can not vouch for how well or if it works.
http://www.contactor.se/~dast/stuff/

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
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
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
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:45 AM.

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