Originally Posted by
bhubunt
Here you go: please explain what you see in the code below. It says cups is running, but what about the scheduling? Why is the scheduling active?
I'd appreciate it if you could unpack what you see
It's being scheduled because the service is enabled - you can see it's enabled on the Loaded line.
But cups only listens on on the loopback address, so it's not accessible from over the network. I'm not sure how much would stop working if you stopped it. Probably printing of any sort would stop, even print to a usb printer or print to PDF. Cups is the system print spooler.
Code:
~$ sudo ss -lntup | awk 'NR==1||/cups/'
Netid State Recv-Q Send-Q Local Address:Port Peer Address:PortProcess
udp UNCONN 0 0 0.0.0.0:631 0.0.0.0:* users:(("cups-browsed",pid=1126,fd=7))
tcp LISTEN 0 128 127.0.0.1:631 0.0.0.0:* users:(("cupsd",pid=809,fd=7))
tcp LISTEN 0 128 [::1]:631 [::]:* users:(("cupsd",pid=809,fd=6))
But notice there is also a cups-browsed process listening on UDP 631. This is listening on all addresses, for printer advertisements from remote printers. Although I think the risk is low, you may want to disable this service. I wouldn't uninstall it though - it doesn't take up much space and you may find you want it one day.
Code:
sudo systemctl stop cups-browsed
sudo systemctl disable cups-browsed
Bookmarks