SUMMARY: hosts.allow syntax for Solaris 10

From: Christopher L. Barnard <cbar44_at_tsg.cbot.com>
Date: Wed Feb 28 2007 - 15:30:44 EST
I asked:

> I have a quick syntax question.  In Solaris 10, in my hosts.allow files,
> I have the same rule written two different ways on two different servers.
> Both work fine.
>
> <service>: <allowed-ip-range>: severity LOCAL3.info
> <service>: <allowed-ip-range> severity LOCAL3.info
>
> The second form does not have the second colon.  Both versions work just
> fine.  I am writing a how-to doc for our environment, and I want to use
> the correct syntax.  I did not find anything from docs.sun.com or googling
> it.  Does anyone know what the "official" correct syntax is?

The answer:

<service>: <allowed-ip-range>: severity LOCAL3.info

Thanks to everyone who responded, most saying that it is in the man page.
As it turns out you don't have to install SUNWtcpd on Solaris 10 to use
tcp wrappers.  But you _do_ have to install it to get the man pages.  I
had not installed SUNWtcpd, hence no man pages.  Several folks graciously
mailed the page to me.  Thanks.

+-----------------------------------------------------------------------+
| Christopher L. Barnard         O     When I was a boy I was told that |
| cbarnard@tsg.cbot.com         / \    anybody could become president.  |
| (312) 347-4901               O---O   Now I'm beginning to believe it. |
| http://www.cs.uchicago.edu/~cbarnard                --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Feb 28 15:32:31 2007

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:05 EST