Unable to access CUPS- admin password lost!

Ask a question


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).
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team