UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Use the lpadmin command. Sorry - I've only done it once and didn't record exactly what I did to add the printer except that comand - do "man lpadmin" for help on how to use the command. As I recall it was fairly easy once I reviewed the man page.
Well.. there's a web service available from cups.... but I can't authenticathe the user. Thied with root and my mortal user... none worked. What user/password is it?
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
It should work with root - you may need to set a root password.
Enter the following command:
Code:
sudo passwd root
And set a root password.
As I mentioned earlier, there is a Printer Setup tool - In the System - Administration - Printing. You can use your users password to set up a printer using this tool.
According to the web location, admin tasks have been disabled for security. In red text across the top of the page it says where to go in the system panel to administer to the printer.
Why they chose red text on a brown background is beyond me. I tried every login there before I saw that red text.
Go to this location is your browser. http://localhost:631/sam.html#13_2 It tells you how to change the settings. When it tells you restart CUPS, I couldn't get it using the methods it used. My program was in /etc/init.d/cupsys
So I restarted by typing
Code:
sudo /etc/init.d/cupsys restart
I hope this helps.
Also, you'll want to go to the end of the file, E- Troubleshooting Common Problems.
Last edited by brandon14u2; 10-10-2005 at 09:09 PM.
I used the lppasswd program to add a user account to perform the administration. I was using SuSE linux.
Whether using YaST or www.localhost:631 web interface, I needed to supply this user and password when the cups requester came up. This was because in my version of cups, it runs as user lp instead of root for security reasons.
So first, I would su to root or use 'kdesu konqueror' to bring up a browser as root. (This is to allow write permission to the files changed in /etc). When cups requested a username/password, I entered the info entered when using 'lppassword -a user' command.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.