Wednesday, May 22, 2013

Raspbian, CUPS, and Long Passwords

There is a strange phenomenon I encountered when attempting to add a local printer to our little Raspberry Pi's Raspbian GNU/Linux installation. In order to log in to the CUPS interface, by default a user must be a member of lpadmin to do all the bizzo in CUPS Administration. I added the user to this group, but could not log in to the web interface. It kept coming back as if I'd typed my password wrong.

Turns out that there is something in the authentication procedure, [could be the Midori browser, could be cupsd, could be something else,] that means you can't have a long password and successfully log in to the web interface of CUPS. By long, I mean something like 35 chars. It's a passphrase.

Have fun!

No comments: