• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2026
  • Last Modified:

hosts allow config

Hi,

I keep getting this in my /var/log/messages:

May 21 19:38:32 lin sshd: warning: /etc/hosts.allow, line 5: missing ":" separator

And the file itself contains only this:
mysqld 192.168.0.2

Isn't there supposed to be :ALL there somewhere?
0
MaritimeSource
Asked:
MaritimeSource
1 Solution
 
Heem14Commented:
you need to have a colon  :   after the service name

like,

mysqld: 192.168.0.2

You should only have the ALL there if you actually want to allow all hosts to connect to the sql service.

0

Featured Post

Get quick recovery of individual SharePoint items

Free tool – Veeam Explorer for Microsoft SharePoint, enables fast, easy restores of SharePoint sites, documents, libraries and lists — all with no agents to manage and no additional licenses to buy.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now