You are not logged in.
Pages: 1
Topic closed
I've gone through the CUPS web interface, and at the end, it asks for a password. I've tried using root and root's password, and that didn't work.
I also Googled around for a while, and found somebody recommending running 'lppasswd', which I tried, and entered a password; however, this password doesn't work on the web interface either (it gives me the authorization required message).
I've tried restarting CUPS after making these changes as well, but to no avail.
Did I miss some configuration step somewhere? How can I get this to work?
Thanks.
Offline
Are you part of the lp group?
Offline
Are you sure you're using the correct root password? Root and root's password always worked for me...
syd wrote:Here in NZ we cant spell words with more than 5 letters. So color will have to do.
You must be very special then because "letters" has 7
Offline
Reviving this topic because I'm facing a similar problem.
In my system, I have disabled the ROOT account and i use sudo to get root privileges as & when required.
So, I don't have any root password.
Now I want to add the cups-pdf virtual printer. I've installed all the required packages, added myself to the lp group , set up a password using lppasswd, restarted cups daemon and even rebooted!
I try to use the cups web interface as outlined in the wiki, but when it asks for 'username and password at CUPS", I'm stumped! The username (myself) and the password set up in lppasswd doesn't work and the password prompt keeps coming back!
Please help....can this be done without setting up a root password?
March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)
Offline
If you are using the web interface the user is root and the password is the root password. I do not know any other way around it.
R.
Offline
Reviving this topic because I'm facing a similar problem.
In my system, I have disabled the ROOT account and i use sudo to get root privileges as & when required.
So, I don't have any root password.Now I want to add the cups-pdf virtual printer. I've installed all the required packages, added myself to the lp group , set up a password using lppasswd, restarted cups daemon and even rebooted!
I try to use the cups web interface as outlined in the wiki, but when it asks for 'username and password at CUPS", I'm stumped! The username (myself) and the password set up in lppasswd doesn't work and the password prompt keeps coming back!Please help....can this be done without setting up a root password?
Same problem with same context. I don't know how to solve :|:|
Offline
s26c.sayan wrote:Reviving this topic because I'm facing a similar problem.
In my system, I have disabled the ROOT account and i use sudo to get root privileges as & when required.
So, I don't have any root password.Now I want to add the cups-pdf virtual printer. I've installed all the required packages, added myself to the lp group , set up a password using lppasswd, restarted cups daemon and even rebooted!
I try to use the cups web interface as outlined in the wiki, but when it asks for 'username and password at CUPS", I'm stumped! The username (myself) and the password set up in lppasswd doesn't work and the password prompt keeps coming back!Please help....can this be done without setting up a root password?
Same problem with same context. I don't know how to solve
:|:|
Well, I have found a solution.
Install the package 'system-config-printer' using pacman.
Run
sudo system-config-printer
Now, if you have already installed the cups-pdf package, you should be able to configure it using the nice pygtk based GUI!
The only hitch is the app keeps segfaulting!
March Linux : An Arch Linux "distrolet" that I am trying to develop (March = My Arch!)
Please take a look......:)
Offline
uastasi wrote:s26c.sayan wrote:Reviving this topic because I'm facing a similar problem.
In my system, I have disabled the ROOT account and i use sudo to get root privileges as & when required.
So, I don't have any root password.Now I want to add the cups-pdf virtual printer. I've installed all the required packages, added myself to the lp group , set up a password using lppasswd, restarted cups daemon and even rebooted!
I try to use the cups web interface as outlined in the wiki, but when it asks for 'username and password at CUPS", I'm stumped! The username (myself) and the password set up in lppasswd doesn't work and the password prompt keeps coming back!Please help....can this be done without setting up a root password?
Same problem with same context. I don't know how to solve
:|:|
Well, I have found a solution.
Install the package 'system-config-printer' using pacman.
Runsudo system-config-printer
Now, if you have already installed the cups-pdf package, you should be able to configure it using the nice pygtk based GUI!
The only hitch is the app keeps segfaulting!
Thank you s26c.sayan, I've finally added my pdf-printer, but now I've realized that it prints blank pages using default configuration.. :/
Offline
I found this information in the CUPS FAQ!
For anyone using who has set up their system with a locked root account do the following:
1) From the command line type:
sudo groupadd printadmin
Then for each user you want to add to that group type:
sudo usermod -aG printadmin usernamehere
2) In your cupsd.conf file, add this line:
SystemGroup printadmin
OR
For normal systems:
1) From the command line as root type:
groupadd printadmin
Then for each user you want to add to that group type:
usermod -aG printadmin usernamehere
2) In your cupsd.conf file, add this line:
SystemGroup printadmin
Hope this helps someone!
Offline
Thanks thomas for the info.
I followed your concept, only instead of using those commands and creating a new group, I used the "lp" group, which I believe is the standard arch name for printing rights.
so I edited /etc/cups.d/cups.conf to read
SystemGroup lp
(instead of
SystemGroup sys root
which I think was the default value.
That was enough: I'm already a member of lp. Otherwise
# gpasswd -a your_user lp
or if you prefer sudo (or you disabled root)
$ sudo gpasswd -a your_user lp
will add your_user to the lp group.
Offline
actually there is a difference between the "lp" and "printadmin" group. "lp" is for users allowed to print and "printadmin" is for printer administration. when running only a desktop machine this difference doesn't matter so much.
Offline
don't forget to reboot... haha
Last edited by Squee22 (2012-12-15 15:36:27)
Offline
Adding my user account to PrintAdmin group worked for me On Ubuntu 14.04. Yay. Thanks. Also I didn't have to edit the cups.conf file and I didn't reboot, but I did logout and back in before I logged into CUPS.
Offline
Glad it worked for you.
I am, however, going to go ahead and close this old thread now. I think it has run its course.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Pages: 1
Topic closed