Unable to access CUPS- admin password lost!

January 2017



Issue


I lost my admin password for CUPS, how can I access it?

Solution


It is possible access CUPS directly via a web browser.
  • Open web browser.
  • In the address bar: http://localhost:631/admin
  • You must use the PC running CUPS to be able to access it
  • Or you can edit the /etc/cups/cupsd.conf file.
  • If you have forgotten the admin password, it is possible to allow a user to administer CUPS.

To do this, enter this command as root:

root@cameleon # lppasswd -a username 
Enter password: 
Enter password again:
  • You can then administer CUPS with this user.
    • Note that: the password specified must contain at least 6 characters (at least one letter and one number).

Related


Published by jak58. Latest update on October 25, 2012 at 12:30 PM by Jeff.
This document, titled "Unable to access CUPS- admin password lost!," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).