Cups password editing on Linux
I have a few printers on my Linux (Kubuntu, if that matters) that do require password authentication. So far, each time I had to change the password, I simple edited the
printers.conf
file and did a replace-all, fire a cups
service restart and that was all I needed to be back on printing.
Today I had to repeatadly edit the printers.conf
file since it was automatically rolled back from a copy I was unabled to find.
After a while, being unable to find the master copy, I thought it was a kind of cups dump that was rolling back changes.
And in fact, having a closer look at the head of the file revelead it:
# Printer configuration file for CUPS v2.2.2
# Written by cupsd
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
- stop the
cups
service; - edit the
printers.conf
file; - restart the
cups
service.