LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-27-2005, 12:41 PM   #1
powah
Member
 
Registered: Mar 2005
Distribution: FC, Gentoo
Posts: 276

Rep: Reputation: 30
cups: cannot login to manage Printers from the Web


I want to CUPS to manage Printers from the Web.
I go to website
http://localhost:631/admin

It prompts me for user id and password.
I enter the user id "root" and the root password for the workstation.
This error message appear:
"Unauthorized

This server could not verify that you are authorized to access the resource."

What should be the correct user id and password?

I use SuSE 9.0
I install cups by "YaST Control Center", "Install and Remove Software", "cups" and enable all cups packages.
 
Old 04-27-2005, 02:42 PM   #2
madluther
Member
 
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 30
You need an entry in your cupsd.conf file allowing admin access. Here's a cut 'n' paste from our server as an example

Code:
<Location /admin>

AuthType Basic
AuthClass System

## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.3
#Encryption Required
</Location>
This will allow access from the local host and a host with an IP of 192.168.0.3
After any changes have been made to the cupsd.conf file you should restart the cups daemon.

HTH
Mad.
 
Old 04-27-2005, 07:19 PM   #3
Krugger
Member
 
Registered: Oct 2004
Posts: 229

Rep: Reputation: 30
you login gets denied because there is no password file to use. In some distros you need to use lpasswd to generate the password file that cups uses. just type lp <Tab> to see the actual command.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
CUPS - unauthorized to manage EclecticOS Slackware - Installation 3 10-15-2005 05:56 AM
Hotplugging USB, CUPS, and printers jrdioko Linux - Newbie 3 08-13-2005 10:57 PM
Stop cups from disabling printers kule Linux - Software 0 07-19-2005 07:41 AM
backing up printers in cups GUIPenguin Linux - General 1 06-23-2005 11:39 AM
Printers and cups Pedroski Linux - Hardware 1 10-05-2003 06:50 PM


All times are GMT -5. The time now is 01:52 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration