Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 May 2003 08:57:04 -0500 (CDT)
From:      Eduardo Viruena Silva <mrspock@esfm.ipn.mx>
To:        Antoine Jacoutot <ajacoutot@lphp.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: LPD permission
Message-ID:  <20030530085322.W9461@Gina.esfm.ipn.mx>
In-Reply-To: <200305301256.06906.ajacoutot@lphp.org>
References:  <200305301256.06906.ajacoutot@lphp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 May 2003, Antoine Jacoutot wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi !
>
> How can I set permissions on LPD spooler. I would like an entire network
> to be able to print while another must not.
> Obviously, the hosts.lpd file does not accept network range nor NIS
> netgroups...
> I don't feel like entering hundreds of @ip by hands.
>
> Any ideas ?

are the print request sent though port 35 ?

you can allow/deny access to this port to the specific networks
in /etc/hosts.allow and /etc/hosts.deny.

check man 5 hosts_access.


>
> Thanks :)
>
> - --
> Antoine Jacoutot
> ajacoutot@lphp.org
> http://www.lphp.org
> gpg key: http://www.lphp.org/ressources/ajacoutot.asc
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.2 (FreeBSD)
>
> iD8DBQE+1zjGY3Hnhkr+5cQRAlsIAJ4ng3bU0tHkP20mGwzhp3Bk0wA+8wCeOTAt
> QNV/gT0Nlqw3jUX9I08VmMI=
> =fhTy
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>

-                         ______                     _
            *           /   /###\                   / \       __
 /\  /\             *  /  ./#### \         *     \__|_/      |  |
/  \/  \               |   b#####|   *            _ |   __   |  |  __
=    .. \____          \ \_\#####/               / \|  /  \  |  | /\_\/
=          \_|    *     \___\###/       *        \_/\_/\__/\__\/_/\__/
 =   \______/           _
  | |



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030530085322.W9461>