Some process sends output of my console over
stdin to remote print server. If there is cups printer configured, it prints it. So I need to keep cups disabled. I suspect something is running
lpr. It usually starts some time after I compile big project.
Is there a way howto find after what process run it?
The only thing I know is to see the job in the cups web history http://remote-print-server.example.com:631/:
ID Name User Size Pages State foo-11612 (stdin) user 1634k Unknown completed at Tue 06 Feb 2018 12:49:30 UTC
UPDATE: It's about printing through
stdin. I don't have any local logs except
journalctl, as the printer is not connected locally :-(. The text above is copied from cups web log.