#1
  1. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Posts
    694
    Rep Power
    95

    CUPS-Add-Modify-Printer: Unauthorized


    I have a new Fedora 6 install that when using cups to add a printer I receive this error in the error-log. Needless to say the printer does not get installed.

    Thanks,
    Evan
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2006
    Posts
    247
    Rep Power
    82
    did you log into CUPS administrator mode as root?

    also, why don't you use the System->Administration->Printers thingy to set up printers instead of CUPS
  4. #3
  5. Trapped on the forums...help
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2003
    Location
    /Users/edman007
    Posts
    4,617
    Rep Power
    905
    yea, there is something weird with CUPS, if you try and do something to the setup you get those errors, but if you click the admin link then click over to what you want it will ask for your pass and get around the error
  6. #4
  7. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Posts
    694
    Rep Power
    95
    Thank you for the suggestions. Is there a way to allow all users to access the cups printers? I gave up trying to add the printer through the cups web interface. I downloaded an application from the Canon website and after the application installs it gives me
    CUPS_BackEnd: get-printers failed: client-error-not-found


    [Edit] I do log in as root.[/Edit]

    Thanks,
    Last edited by epanagio; December 21st, 2006 at 09:04 AM.
    Evan
  8. #5
  9. Trapped on the forums...help
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2003
    Location
    /Users/edman007
    Posts
    4,617
    Rep Power
    905
    are you perhaps trying to admin it from another computer, by default admin stuff only works on localhost, if you want to do it remotely i would suggest you ssh in and forward some port to 631 and admin it like that

    as for access control (which I'm not sure you actually need, most [all?] distros share all printers by default..i think)

    but if you need more control edit the cups config, /etc/cups/cupsd.conf at least that's the file on my system, and restart cups when your done
  10. #6
  11. Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Posts
    694
    Rep Power
    95
    I am using my laptop and I have the root password. I do log in as root because I don't want to have any doubts about authorization. There is no need to ssh. The
    PHP Code:
    CUPS_BackEndget-printers failedclient-error-not-found 
    error comes form an executable I got from canon.

    Thanks,
    Evan
  12. #7
  13. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2011
    Posts
    1
    Rep Power
    0

    add yourself to lpadmin


    I was trying to add the cups-pdf printer using the cups admin page. After I put in all the details and click submit. It would ask for my authentication four times and then the page would go blank. Looking at the logs I saw it was giving the "CUPS-Add-Modify-Printer: Unauthorized" error. I don't have a root password nor do I want to add one. The solution I found was to add my username to the lpadmin group mentioned in the cups config file.
    "sudo adduser <yourusername> lpadmin"
    This allowed the add printer wizard in the admin webpage to complete with no problem.
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2006
    Posts
    2,436
    Rep Power
    1688
    4 years, but you got here!
    The moon on the one hand, the dawn on the other:
    The moon is my sister, the dawn is my brother.
    The moon on my left and the dawn on my right.
    My brother, good morning: my sister, good night.
    -- Hilaire Belloc

IMN logo majestic logo threadwatch logo seochat tools logo