LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-27-2001, 06:09 PM   #1
susx
LQ Newbie
 
Registered: Aug 2001
Posts: 19

Rep: Reputation: 0
ntpd


Hi,
How do I use ntpd ???
Can I set something up in cron to sync time from a free public time server ???
Is that ok or is there any security issues there ??? If not and that's the way to go, then how do I do it !!!!
 
Old 08-28-2001, 08:04 AM   #2
joe1011010
Member
 
Registered: Aug 2001
Location: UK
Posts: 48

Rep: Reputation: 15
I have not used ntpd, but there seems to be a lot of info in the package. Have you read this?

Any connection to an external site is open to security issues. How accurate do you want your clock to be?? :-} Is it worth the risk?

Joe
 
Old 08-28-2001, 10:33 AM   #3
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 47
If you setup a full blown NTP server then you don't need to run anything at regular intervals as the NTP daemon takes care of all that for you, alternatively if you don't want to run a server all the time you can regularly (say using cron) get ntpdate to sync with a name server. This isn't as accurate as running an NTP server but if its only to keep the clock accurate from a human point of view is more than sufficient. I use the ntpdate method at home sucessfully...

As for security issues I don't believe there are that many for NTP, I know that they recently closed a couple with the last release so I think things are pretty good.

cheers

Jamie...
 
Old 08-28-2001, 04:18 PM   #4
susx
LQ Newbie
 
Registered: Aug 2001
Posts: 19

Original Poster
Rep: Reputation: 0
Jamie,

Thanks.
I tried ntpdate and it worked great. I went a head and setup the cron to execute once a day also a startup script incase of server reboot.
I am using this public time server 128.118.46.3. I used it as
#ntpdate 128.118.46.3
I got this back

28 Aug 17:11:55 ntpdate[27367]: step time server 128.118.46.3 offset 75.395817 sec

It worked great.
Thanks again.
 
  


Reply


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
ntpd jayhel Slackware 2 02-19-2005 10:12 AM
ntpd seitan Linux - Software 1 11-29-2004 05:30 AM
ntpd jqcaducifer Linux - General 0 08-21-2003 11:09 PM
ntpd in RH 7.3 melissad Linux - Networking 4 04-28-2003 12:34 PM
ntpd kjelle Linux - Newbie 0 03-05-2002 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:23 PM.

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