CUPS username and password
Hi,
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? Thanks in advance, TC |
Not a CUPS guru, but you might try looking in /etc/cups/cupsd.conf for some useful options.
|
It's looking for your root password.
The username should be exactly "root" and the password should be your normal root password. |
Quote:
|
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! ok, why is looking for passwd.md5? |
ccin dunno if you're using Suse 9.0 but if you are then the CUPS password is an encrypted one. A search of their site will explain it all.
|
Yes, I am using Suse 9.0. I'll check it out. Thanks!
|
|
After checking out that link, I discorvered I needed to run the following command:
lppasswd -g sys -a root That did the trick. Thanks Chris! TC |
root password is enough
When i was facing the same problem,
I used my Username = root user name password = root password and it is working fine now! |
Change some things in your /etc/cups/cupsd.conf file:
Change the authentication type to "None". Remove any lines that have "@SYSTEM" in it. Restart the CUPS daemon. |
CUPS username and password
Thanks Geremia!
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?
|
Geremia's solution worked -- CUPS username and password
Geremia's solution worked. Thank you Geremia. You da man!
|
Quote:
|
All times are GMT -5. The time now is 03:26 PM. |