Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 02-26-2006, 11:46 AM   #1
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 97
CUPS does not accept my username/password

Hi, all.

I accessed the CUPS management page via my web browser on, and clicked on the "Do Administration Tasks" link. I was asked to log in, but none of the username / password combinations I've tried have worked (current user, root user, lp with either of these passwords, current user with root password, any of the above with no password, etc).
  • I've not set a particular password for CUPS - is there a default login?
  • Is lp (an account listed in my passwd file) associated with CUPS?
  • Would it be safe to set / reset a password for this account?


Old 02-26-2006, 12:06 PM   #2
Alien Bob
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 6,613

Rep: Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903Reputation: 3903
For the administrative access, CUPS will accept you username/password if the username is in the "sys" or "root" group by default. So, the "root" account should be able to login. The fact that it didn't for you, means that the default might have been changed by your distro's vendor. Look in
fle for the line
#SystemGroup sys
. There might already be an explicit group definition below that (without the '#' commant sign at the start of the line), check what group it mentions and add yourself to that group.

The account "lp" is indeed used by CUPS but it is not an account that you can (or should) login to. So, better not to set a password for it, either.

Old 02-26-2006, 12:50 PM   #3
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Original Poster
Rep: Reputation: 97
Thanks for the answer, but I'm afraid I'm still having no luck.

The SystemGroup line that you mentioned is set to lp rather than sys, though this is commented out:
#SystemGroup lp
Further down in /etc/cups/cupsd, I found the following lines:
# You definitely will want to limit access to the administration functions.
# The default configuration requires a local connection from a user who
# is a member of the system group to do any admin tasks.  You can change
# the group name using the SystemGroup directive.

AuthType BasicDigest
AuthClass Group
AuthGroupName sys
However, I've tried adding root to both the sys and the lp groups in /etc/group, but CUPS is still not letting me log in (even after I restart it).


PS I tried un-commenting the SystemGroup line in cupsd.conf, but this didn't work either.

Got an aspirin?

Last edited by Robhogg; 02-26-2006 at 01:02 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CUPS username and password ccin1492 Linux - Software 10 12-18-2015 02:48 PM
Apache does not accept username/password logicalfuzz Linux - Software 16 01-06-2006 03:54 AM
CUPS: What URI to use when a username is needed without a password elluva Linux - Networking 0 02-26-2005 10:19 AM
su doesn't accept my password CGameProgrammer Linux - General 7 10-13-2004 12:07 PM
CUPS: Username and password. aliiscool Linux - Software 6 07-15-2004 05:51 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration