LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-14-2006, 10:24 PM   #1
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Rep: Reputation: 30
Can't get past authentication in the CUPS admin interface


In /etc/cups/cupsd.conf, I have the following configurations:

Code:
SystemGroup lpadmin

<Location /jobs>
AuthType Basic
AuthClass User
</Location>


<Location /admin>
AuthType Basic
AuthClass System

Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
User 'peter' is a member of the group lpadmin.

However, when I tried to login with userid 'peter' and his password, the authentication window vanishes and reappears (authentication fails?).

What do I need to configure to get the authentication successful?

Btw, what does 'User' in 'AuthClass User' means?

Thanks in advance !
 
Old 02-14-2006, 11:07 PM   #2
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
man lppasswd

lppasswd -a username
 
Old 02-15-2006, 01:45 AM   #3
Akhran
Member
 
Registered: Aug 2005
Distribution: Debian 'lenny'
Posts: 208

Original Poster
Rep: Reputation: 30
Code:
root@myserver:/# lppasswd peter
Enter password:
Enter password again:
lppasswd: user "peter" and group "lpadmin" do not exist.
lppasswd: Password file not updated!
However, peter is a existing user in the lpadmin group as shown in

Code:
root@myserver:/# cat /etc/group |grep lpadmin
lpadmin:x:104:peter
Please advise.

Thanks!



Quote:
Originally Posted by rshaw
man lppasswd

lppasswd -a username
 
Old 02-15-2006, 09:52 AM   #4
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
cups doesn't reference the system users/passwords, it keeps it own in passwd.md5

as root:

lppasswd -g lpadmin -a peter
 
  


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
How to get past websites authentication in a bash script? bruno buys Linux - Software 6 01-12-2006 10:46 AM
CUPS admin tool hangs coshx Linux - Software 0 09-11-2004 03:38 AM
Looking for admin GUI interface Ick Linux - Software 3 08-19-2004 09:57 PM
cups admin legin Debian 2 05-29-2004 09:52 AM
Can't ping anywhere past the external interface! Ironica Linux - Networking 2 05-25-2004 05:57 PM


All times are GMT -5. The time now is 11:08 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration