LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-21-2010, 03:53 PM   #1
System666PL
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).

Code:
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:
Code:
Terminal:/etc# lppasswd
Enter password:
Enter password again:
lppasswd: user "root" and group "lp" do not exist.
lppasswd: Password file not updated!
Code:
Terminal:/etc# addgroup lp
addgroup: The group `lp' already exists.
also
Code:
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
Member
 
Registered: Feb 2010
Location: Bangalore, India
Distribution: Linux Mint 13
Posts: 590

Rep: Reputation: 64
You must make sure the lpd service is stopped and the cups service is started:
Quote:
/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
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 13.1 / 12.3_64-KDE, Ubuntu 14.04, Fedora 20, Mint 17, Chakra
Posts: 3,644

Rep: Reputation: Disabled
Quote:
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.
 
  


Reply

Tags
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


All times are GMT -5. The time now is 11:00 PM.

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