0

I am using lpadmin to add a printer to the system, Ubuntu 18.04 for this example. The problem is that the file is stored in plaintext in /etc/cups/printers.conf. Is there a way for it to use gnome keyring instead?

The command I use at the moment is:

lpadmin -p printername -v smb://username:password@host/printer -m lsb/usr/filedriver.ppd -E

So after this the password is written to /etc/cups/printers.conf, which I know is also only readable by root. I've been trying to see how to pass the auth part to gnome keyring but found nothing so far.

  • Never found a solution for the password in cleartext too.... – Rui F Ribeiro Feb 27 at 18:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.