LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't get past authentication in the CUPS admin interface (https://www.linuxquestions.org/questions/linux-newbie-8/cant-get-past-authentication-in-the-cups-admin-interface-415517/)

Akhran 02-14-2006 09:24 PM

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 !

rshaw 02-14-2006 10:07 PM

man lppasswd

lppasswd -a username

Akhran 02-15-2006 12:45 AM

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


rshaw 02-15-2006 08:52 AM

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

as root:

lppasswd -g lpadmin -a peter


All times are GMT -5. The time now is 05:17 PM.