-   Linux - Software (
-   -   CUPS - can't login even as a root (

System666PL 03-21-2010 03:53 PM

CUPS - can't login even as a root
Hello, I installed cups on my debian lenny PC and can't login at http://localhost:631/ using lynx (console only machine).


Terminal:/etc# id root
uid=0(root) gid=112(lpadmin) groups=112(lpadmin)

so my user have rights to login to cups I think.

I tried lppasswd, but:

Terminal:/etc# lppasswd
Enter password:
Enter password again:
lppasswd: user "root" and group "lp" do not exist.
lppasswd: Password file not updated!


Terminal:/etc# addgroup lp
addgroup: The group `lp' already exists.


Terminal:/etc/init.d# ./cups restart
Restarting Common Unix Printing System: cupsd.

don't help

I'm so angry, fighting with this all day i just want jump through the window :/

Someone have idea what is going on ?

Sayan Acharjee 03-22-2010 01:36 AM

You must make sure the lpd service is stopped and the cups service is started:

/sbin/service lpd stop
/sbin/service cups start
http://localhost:631 will not work for CUPS if lpd service is running.

JZL240I-U 03-22-2010 04:42 AM


Originally Posted by sayan_acharjee (Post 3907214)
...http://localhost:631 will not work for CUPS if lpd service is running.

That's news for me, thanks.

I also noted that sometimes you can use root's password (the real one for the OS, not the one for CUPS). I don't know how or under what circumstances that happens and it is not always i.e with every installation true but may be worth a try.

All times are GMT -5. The time now is 01:33 PM.