Re: Allowing CUPS to use http ports 80 and 443

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/29/2013 01:19 PM, Steve Wilson wrote:
> I'm migrating a CUPS print server from Ubuntu to RHEL6.  Previously I had
> CUPS configured to listen on port 80, 443 and 631.  Now SELinux is
> preventing CUPS from binding to ports 80 and 443.  What would be the
> recommended way to permit this in SELinux?
> 
> Thanks! Steve
> 
> -- selinux mailing list selinux@xxxxxxxxxxxxxxxxxxxxxxx 
> https://admin.fedoraproject.org/mailman/listinfo/selinux
I would just add a custom policy.

# grep cups /var/log/audit/audit.log | audit2allow -M mycups
# semodule -i mycups.pp

Another option would be change the labels on those ports to cups ports, but
this would break httpd if it was also looking to use those ports.

# semanage port -m -t cups_port_t -p tcp 80

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEIFlMACgkQrlYvE4MpobMKmwCfa9Fajx/eZiaH75R4PlXR4qP2
O7AAnA2yWpUZC3y6eXSd3dKMUegpD6B7
=gxaH
-----END PGP SIGNATURE-----
--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux



[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux