Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: CUPS will not accept my user/password in Saucy 13.10

  1. #1
    Join Date
    Apr 2010
    Location
    Courtice, Ontario, Canada
    Beans
    85
    Distro
    Ubuntu 14.04 Trusty Tahr

    CUPS will not accept my user/password in Saucy 13.10

    I have used Ubuntu for years, upgrading every 6 months, and never had this issue before. When I go to localhost:631, CUPS admin page displays, but when I try to make admin changes, such as modify a printer, it prompts for user and password, as usual, but will not accept my credentials. I have tried:

    1. Logging out of Ubuntu and back in again
    2. Clearing browser cookies & cache
    3. Captilized & non versions of my user name
    4. Entering these commands in terminal:
    sudo usermod -aG lpadmin <username>
    sudo /etc/init.d/cups restart

    There are no other users on this machine, mine is the only account, and I do have admin privileges.

    Thanks,

    Les.

  2. #2
    Join Date
    Sep 2013
    Beans
    19

    Re: CUPS will not accept my user/password in Saucy 13.10

    What is the content of your /etc/cups/cupsd.conf ?

  3. #3
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: CUPS will not accept my user/password in Saucy 13.10

    A slightly long shot here, because this should only be relevant if you have had to install the gksu package, but open a terminal and run:

    Code:
    gksu-properties
    If the authentication mode is set to su, change it to sudo and try the CUPS admin page again.
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  4. #4
    Join Date
    Apr 2010
    Location
    Courtice, Ontario, Canada
    Beans
    85
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: CUPS will not accept my user/password in Saucy 13.10

    Quote Originally Posted by zKhtdyX View Post
    What is the content of your /etc/cups/cupsd.conf ?
    #
    #
    # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
    # complete description of this file.
    #

    # Log general information in error_log - change "warn" to "debug"
    # for troubleshooting...
    LogLevel warn

    # Deactivate CUPS' internal logrotating, as we provide a better one, especially
    # LogLevel debug2 gets usable now
    MaxLogSize 0

    # Only listen for connections from the local machine.
    Listen localhost:631
    Listen /var/run/cups/cups.sock

    # Show shared printers on the local network.
    Browsing Off
    BrowseLocalProtocols dnssd

    # Default authentication type, when authentication is required...
    DefaultAuthType Basic

    # Web interface setting...
    WebInterface Yes

    # Restrict access to the server...
    <Location />
    Order allow,deny
    </Location>

    # Restrict access to the admin pages...
    <Location /admin>
    Order allow,deny
    </Location>

    # Restrict access to configuration files...
    <Location /admin/conf>
    AuthType Default
    Require user @SYSTEM
    Order allow,deny
    </Location>

    # Set the default printer/job policies...
    <Policy default>
    # Job/subscription privacy...
    JobPrivateAccess default
    JobPrivateValues default
    SubscriptionPrivateAccess default
    SubscriptionPrivateValues default

    # Job-related operations must be done by the owner or an administrator...
    <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
    </Limit>

    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>

    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>

    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>

    # Only the owner or an administrator can cancel or authenticate a job...
    <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>

    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>

    # Set the authenticated printer/job policies...
    <Policy authenticated>
    # Job/subscription privacy...
    JobPrivateAccess default
    JobPrivateValues default
    SubscriptionPrivateAccess default
    SubscriptionPrivateValues default

    # Job-related operations must be done by the owner or an administrator...
    <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
    </Limit>

    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>

    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>

    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>

    # Only the owner or an administrator can cancel or authenticate a job...
    <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>

    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>

    #
    #

  5. #5
    Join Date
    Apr 2010
    Location
    Courtice, Ontario, Canada
    Beans
    85
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: CUPS will not accept my user/password in Saucy 13.10

    Quote Originally Posted by coffeecat View Post
    A slightly long shot here, because this should only be relevant if you have had to install the gksu package, but open a terminal and run:

    Code:
    gksu-properties
    If the authentication mode is set to su, change it to sudo and try the CUPS admin page again.
    Thanks....it was set to sudo already.

  6. #6
    Join Date
    Sep 2013
    Beans
    19

    Re: CUPS will not accept my user/password in Saucy 13.10

    hmm, the only difference between your config file and the default one in ubuntu 12.04 is the missing directive "SystemGroup lpadmin" but this was already not used any more in 12.04.
    When you are in lpadmin group you should be able to add printer etc. Nobody experiencing the same issue with 13.10?

  7. #7
    Join Date
    Apr 2010
    Location
    Courtice, Ontario, Canada
    Beans
    85
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: CUPS will not accept my user/password in Saucy 13.10

    Quote Originally Posted by zKhtdyX View Post
    hmm, the only difference between your config file and the default one in ubuntu 12.04 is the missing directive "SystemGroup lpadmin" but this was already not used any more in 12.04.
    When you are in lpadmin group you should be able to add printer etc. Nobody experiencing the same issue with 13.10?
    I can't find anyone else experiencing the same problem. I also have 13.10 on another machine, and I can access cups admin no problem on that one. Any ideas?

  8. #8
    Join Date
    Feb 2010
    Beans
    3

    Re: CUPS will not accept my user/password in Saucy 13.10

    I have the same problem. I upgraded from 13.04 to 13.10 and now I'm unable to log into the cups web administrator interface. In the past I've just been able to enter my user/password.

  9. #9
    Join Date
    Feb 2010
    Beans
    3

    Re: CUPS will not accept my user/password in Saucy 13.10

    Please check out:
    http://www.ubuntuupdates.org/package.../proposed/cups
    Is this our problem?
    Last edited by allanmitch; November 15th, 2013 at 05:25 PM. Reason: Correction

  10. #10
    Join Date
    Apr 2010
    Location
    Courtice, Ontario, Canada
    Beans
    85
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: CUPS will not accept my user/password in Saucy 13.10

    Quote Originally Posted by allanmitch View Post
    Please check out:
    http://www.ubuntuupdates.org/package.../proposed/cups
    Is this our problem?
    Not sure, as I only had time to look at it your link briefly. Mine is working intermittently now, but I have to keep rebooting for that to happen. I do notice that the version of cups that is installed on my system is a release candidate, which is odd. Let me know if you find anything.

    Cheers,
    Les.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •