LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-10-2009, 06:08 AM   #1
Asinine
Member
 
Registered: Jul 2009
Location: Germany
Distribution: Arch
Posts: 52

Rep: Reputation: 15
cups printer install (http://localhost:631/) has root/pw issues


I managed to "install" my HP 3930 in Slack 13.0 with a combo of hp-setup and localhost:631. I had to run the localhost thing to get the proper .ppd (the DJ3920's; I found posts to ensure that this driver works great for the 3930) to show up in hp-setup; I could not finish the installation in localhost because it continually prompted for my username/pw even though I *know* I was imputing my root info correctly.

Afterwards, the printer showed up in cups, but not in the Xfce print manager. So I ran hp-setup again and ran the install again, thinking it'd copy over it (honestly, I don't know why I did this, except just trying everything to get the printer to show up in places where I can print with it, not just the cups thing).

But now two printers show up in cups' web thingy, and I cannot remove/alter/do anything in cups because my root/pw continually get this:
Code:
A username and password are being requested by http://localhost:631. The site says: "CUPS"
until I cancel out. Then I just get
Code:
401 Unauthorized

Enter your username and password or the root username and password to access this page. If you are using Kerberos authentication, make sure you have a valid Kerberos ticket.
I did a slackpkg search for kerberos and everything it pulls up is installed.
Code:
# slackpkg search kerberos

The list below shows all packages with the selected pattern.

[ installed ] - cups-1.3.11-i486-1
[ installed ] - gcc-g++-4.3.3-i486-3
[ installed ] - samba-3.2.13-i486-1
I'm a newb and am now genuinely lost and confused. Any ideas as to what's going on?
 
Old 09-10-2009, 07:33 AM   #2
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Does your user belong to group "lp"?

Refer to file CHANGES_AND_HINTS.TXT:

Quote:
HP multifunction printer/scanners require that your user account be a member
of the "lp" group for hp-toolbox to work properly, and to use the scanner
portion of some (all?) units, you'll need to be a member of the "lp" group.
This is because hplip's udev rules set the device with group "lp" ownership.
 
Old 09-10-2009, 07:39 AM   #3
Asinine
Member
 
Registered: Jul 2009
Location: Germany
Distribution: Arch
Posts: 52

Original Poster
Rep: Reputation: 15
Erm... I assume so. I'm logged in as root.
How do I check/ensure root belongs to the lp group?
 
Old 09-10-2009, 07:57 AM   #4
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,161
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Run the following command to check to which groups a user (here root) belongs to

Code:
cat /etc/group | grep root
To add a user to a group, type in:

Code:
gpasswd -a username group
So in your case:

Code:
gpasswd -a root lp

Last edited by gegechris99; 09-10-2009 at 07:58 AM. Reason: typo errors
 
Old 09-10-2009, 09:19 AM   #5
Asinine
Member
 
Registered: Jul 2009
Location: Germany
Distribution: Arch
Posts: 52

Original Poster
Rep: Reputation: 15
Worked like a charm. Thanks!
 
  


Reply

Tags
cups, printing



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't Access Cups Admin @ Http://localhost:631 Perps SUSE / openSUSE 8 12-26-2018 02:36 AM
CUPS. http://localhost:631/ not found Bester Linux - Server 2 03-25-2009 03:15 AM
CUPS http://localhost:631/ LUB997 Linux - Software 1 09-26-2005 07:52 PM
How to connect to http://localhost:631 to install CUPS ch.keller Linux - Hardware 3 06-07-2005 09:25 PM
can't access http://localhost:631 (for cups printing) TheOneAndOnlySM Slackware 4 10-14-2003 08:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration