LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-16-2003, 02:05 PM   #1
stuart39
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Rep: Reputation: 0
Question tuning/securing and ntp sync' in


hey, slackware has been powering my schools webserver for sometime now, i would like to know what things i should be doing to tune and secure the linux. it runs apache, mysql, webmin, usermin, sendmail and ssh servers.

also how can i set up ntpd to sync the hardware clock with a time server somewhere in scotland - my local time, since many of the php scripts on the site need accurate times.

thanks
 
Old 12-16-2003, 03:31 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
/etc/ntp.conf
Code:
restrict default noquery notrust nomodify
restrict 127.0.0.1
server <your server>
driftfile /etc/ntp.drift
logfile /var/log/ntp.log
Something like that should do the syncing.
By a cron-job every once in a while run
hwclock -systohc (how often would depend
on how often the box reboots ;} - note that
by default a ntpd sync will fail if the difference
exceeds 3600 seconds. If this is the case
run ntpdate <server> manually after having
stopped ntpd)


Cheers,
TInk
 
Old 12-16-2003, 03:48 PM   #3
stuart39
LQ Newbie
 
Registered: Oct 2003
Posts: 9

Original Poster
Rep: Reputation: 0
ta

stuart
 
Old 02-16-2005, 12:03 PM   #4
edafe
Member
 
Registered: Feb 2005
Posts: 44

Rep: Reputation: 15
Please have a look at:

http://www.edafe.org/slackware/index.html#ntp

Regards,
Edafe
 
  


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
redusing the ntp sync during booting hasher Linux - Software 0 03-23-2005 08:14 AM
NTP Client How to Sync automatically minil Programming 3 03-03-2005 03:52 AM
ntp time sync eyewittness Linux - Networking 2 08-11-2004 10:18 AM
NTP cannot work with timeserver, NTP-d can jerryvapps Linux - Networking 0 08-04-2004 03:04 PM
NTP sync problems rbutler Linux - Newbie 0 01-17-2003 02:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration