The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    CUPS wont accept my username+password

    Discussion in 'Linux Compatibility and Software' started by Fittersman, Sep 3, 2008.

  1. Fittersman

    Fittersman Wanna trade?

    Reputations:
    225
    Messages:
    1,306
    Likes Received:
    0
    Trophy Points:
    55
    so... i finally got tired of switching operating systems every time i want to print but ive ran into some problems. If i try to do administrative duties with CUPS it wont accept my password. Ive tried using both root and my username to authenticate in CUPS (tried all combinations of passwords and usernames i use) but it still wont authenticate

    My printer is an iP3300 if that matters

    i found a few others with this problem, they used this but it didnt work for me:

    Code:
    sudo adduser cupsys shadow
    i also found a driver for this printer and converted it to a .rpm, then installed it but that didnt seem to do anything (i think this was done incorrectly though, i just double clicked it and then clicked install. I am assuming there will be more to installing a printer via .rpm than this)
     
  2. jas

    jas Notebook Evangelist

    Reputations:
    697
    Messages:
    622
    Likes Received:
    5
    Trophy Points:
    31
    Reading through some of the frustrations that other Ubuntu users are having with enabling cups webadmin, it looks like based on their instructions, that interface should be enabled by performing the following steps. The first step creates the user "cupsys" on your system and puts that user in the "shadow" admin group
    Code:
    sudo adduser cupsys shadow
    The next step allows you to set a password for the user "cupsys"
    Code:
    sudo passwd cupsys
    The next step is the all important step that restarts the cups server, so that it can pick up the updated user db, and allow a login from the newly added cupsys user.
    Code:
    sudo /etc/init.d/cupsys restart
    Then just go to the cups webadmin URL at http://localhost:631/ and enter in the username;
    Code:
    cupsys
    and password;
    Code:
    (that you just set)
    and you should be good to go. If you want to install printer drivers for cups to use, you need to find the directory where cups keeps your ppd driver files and copy JUST the ppd driver file to that directory. For my Gentoo system, and for Ubuntu systems as well (I think), that directory is;
    Code:
    /usr/share/ppd/
    So if that directory exists and has a bunch of .ppd files already in it, find the ppd driver file for your printer, sudo copy it to that directory, and don't forget to restart the cups system again after you copy the file to that directory.
    Code:
    sudo /etc/init.d/cupsys restart
    Good Luck..
     
  3. lemur

    lemur Emperor of Lemurs

    Reputations:
    524
    Messages:
    1,024
    Likes Received:
    0
    Trophy Points:
    55
    That's strange. I have Kubuntu 8.04. CUPS was installed with the default configuration and I can get onto the administrative web page and do administrative tasks with just my regular user name and password.

    Installing a new printer: I think installing a package just adds the driver for the printer but does not add the printer itself. The printer must then be added somehow to CUPS. With Kubuntu 8.04, all the printers I used were autodetected and automatically added when I plugged them in the first time. If a printer is not autodetected, you need to go into the CUPS web panel or use your DE's printer manager (which itself should communicate with CUPS).