Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

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!

Friday, January 15, 2010

Searching within config files

Need to search or find some text within config files in directories and subdirectories?

user@computer$ grep -e 'DocumentRoot' -f $(find .)

Thursday, October 19, 2006

Windows -> Dapper -> Edgy

I work currently for a two letter, printer associated, acronym. The PC on my desktop came with Windows XP pre-installed on it, and MS Office 2003 or whatever. Thanks to the liveCD of gParted I was able to shrink the ntfs partition mit no trouble. Make sure you read a guide on this if you're feeling adventureful.

With the free space I put Ubuntu Linux 6.06 LTS (Dapper Drake) on it. Since nearly everyone else in the office are using Outlook to connect to the MS Exchange server, I found I needed an equivalent. Evolution, an email client on Dapper should have done the trick. Sadly it is amazingly unstable for free open source software. I had been seeing a lot of people recommending the next version of Evolution.

The next version of Evolution is provided on the next version of Ubuntu, 6.10 (Edgy Eft.) So since this next version goes stable on the 26th October, I thought I'd bite the bullet and upgrade now. This went less than super smooth. See this forum post. However, (my english teacher would kill me for that,) after following fix instructions it all seems pretty damn stable.

Hats off to Edgy!