Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
If if pull up http://localhost:631 and go to admin it ask for a username and password. I've tried my user account and root, but it doesn't seem to like either. Which username and password is it looking for?
Ok, here's whar I found in /var/log/cups/error_log:
E [13/Mar/2004:10:58:11 -0800] Unable to open /etc/cups/passwd.md5 - No such file or directory
E [13/Mar/2004:10:58:11 -0800] IsAuthorized: No matching user:group for "root" in passwd.md5!
E [13/Mar/2004:10:58:42 -0800] Unable to open /etc/cups/passwd.md5 - No such file or directory
E [13/Mar/2004:10:58:42 -0800] IsAuthorized: No matching user:group for "root" in passwd.md5!
Your solution still works with CUPS 2.1.3 on Linux Mint 18.3.
I changed the authentication type to "None" and selectively commented out "@SYSTEM" references so as not to completely compromise security (i.e. a job can still only be cancelled by the owner or root).
I just enabled CUPS on my Slackware 14.2 system. I then connected via web browser to localhost:631. Under the "Administration" tab I clicked "Add printer", at which point it asked me for a username and password. I mistakenly entered my normal username & password instead of root's credentials. Of course it wouldn't let me perform any administrative tasks. The problem is that I can't figure out how to log out so I can log in properly as root. Does anyone know how to log out of CUPS?
I mistakenly entered my normal username & password instead of root's credentials. Of course it wouldn't let me perform any administrative tasks. The problem is that I can't figure out how to log out so I can log in properly as root. Does anyone know how to log out of CUPS?
Been there, done that! Try just closing the tab and then closing the browser — that should give CUPS the message that you want it to quit, and then start over again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.