Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 03-21-2010, 03:53 PM   #1
LQ Newbie
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
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 ?
Old 03-22-2010, 01:36 AM   #2
Sayan Acharjee
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

Rep: Reputation: 64
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.
Old 03-22-2010, 04:42 AM   #3
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,045

Rep: Reputation: Disabled
Originally Posted by sayan_acharjee View Post
...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.


cant, cups, login, root

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
Adding root privaliges to user accounts or auto login as root Val-Ent Linux - General 15 03-02-2010 04:27 PM
wrong login shell prevent root login cefs99 Linux - Security 4 05-31-2006 08:28 AM
Gnome: Cannot login as default user, sends back to login, works as root Danny-T Linux - Newbie 2 05-27-2006 03:44 AM
CUPS Cannot print in mozilla non-root (can as root)? mismacku Linux - Software 0 08-26-2004 03:07 AM
can only login as root? user login doesnt work..? anyone? hacking_4_b33r Linux - General 1 02-05-2004 11:40 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:15 PM.

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