Re: [SLE] Unable to print
On 9/3/05 6:09 PM, "Kelly J. Morris" <kjmlists@comcast.net> wrote:
I had a similar issue...I ended up deleting the printer, and re-adding it. Solved my problem but may not be what you were looking for. :)
George - Thanks. I deleted the printer and re-installed from the DVD.
The good news: it works!
The bad news: Even though all my oOo settings (e.g. paper is "US Letter"), margins, etc. have remained unchanged, it now prints low down on the page, as if printing a "US Letter" formatted document on a printer set to print on A4 paper.
I've looked all over and can't find any setting set to A4. Where might I look to re-set this?
Many thanks. Kelly
George
It sounds like you need to finish setting up the printer...I think it defaults to A4...those sizes are for everyone else but the US. My guess is you can do this by going to: http://127.0.0.1:631/printers There are other ways... -- Thanks, George ``One morning I shot an elephant in my pajamas. How he got in my pajamas, I don't know,``''Animal Crackers,'' 1930.
suse_gasjr4wd@mac.com wrote:
It sounds like you need to finish setting up the printer...I think it defaults to A4...those sizes are for everyone else but the US.
My guess is you can do this by going to: http://127.0.0.1:631/printers
There are other ways...
I tried the above in Konqueror but a user and password is required. I tried using "root" along with the correct password but no go. What user and password should be used for CUPS. Terry -- SuSE Linux 9.3 (i586) -- 2.6.11.4-21.9-default -- Sat 09/03/05 8:00pm up 5:06, 3 users, load average: 0.92, 0.44, 0.29
* Terry Eck <terry_eck@comcast.net> [09-03-05 20:08]:
I tried the above in Konqueror but a user and password is required. I tried using "root" along with the correct password but no go. What user and password should be used for CUPS.
lppasswd --help man lppasswd -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery
Patrick Shanahan wrote:
lppasswd --help man lppasswd
Thank Patrick, lppasswd seems to have done the trick. What I did: "lppasswd -a root" then entered root's password. I was then able to login to CUPS and change the paper size from A4 to letter. Terry -- SuSE Linux 9.3 (i586) -- 2.6.11.4-21.9-default -- Sat 09/03/05 8:40pm up 5:46, 3 users, load average: 0.13, 0.26, 0.35
* Terry Eck <terry_eck@comcast.net> [09-03-05 20:47]:
Thank Patrick, lppasswd seems to have done the trick. What I did: "lppasswd -a root" then entered root's password.
but you didn't read/heed the man file: SECURITY ISSUES The lppasswd command is installed setuid to root. While every attempt has been made to make it secure against exploits that could grant super-user priviledges to unpriviledged users, paranoid system administrators may wish to disable or change the owner ship of the program to an unpriviledged account. I would have used root with a different password.
I was then able to login to CUPS and change the paper size from A4 to letter.
Glad to have helped. btw, you can still change the root password for lppasswd to something else. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery
On Sat, 2005-09-03 at 20:45 -0500, Terry Eck wrote:
Patrick Shanahan wrote:
lppasswd --help man lppasswd
Thank Patrick, lppasswd seems to have done the trick. What I did: "lppasswd -a root" then entered root's password.
I was then able to login to CUPS and change the paper size from A4 to letter.
Patrick and Terry - I wasn't so lucky: when I run "lppasswd -a root" it asks for the root password and then rejects it after I key it in. I can log out and log in to root using this PW or use it with su or sudo with no problem. Which password is it asking for? Thanx. Kelly
-- Kelly J. Morris <kjmlists@comcast.net>
* Kelly J. Morris <kjmlists@comcast.net> [09-03-05 20:59]:
Patrick Shanahan wrote:
lppasswd --help man lppasswd
Patrick and Terry - I wasn't so lucky: when I run "lppasswd -a root" it asks for the root password and then rejects it after I key it in. I can log out and log in to root using this PW or use it with su or sudo with no problem. Which password is it asking for?
man lppasswd you do not have to use 'root' to administer cups, you *have* to have a password generated by lppasswd. man lppasswd the man pages *really* do help. If you still do not understand after consulting the man pages, ask specific questions. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery
On Sat, 2005-09-03 at 21:10 -0500, Patrick Shanahan wrote:
man lppasswd
you do not have to use 'root' to administer cups, you *have* to have a password generated by lppasswd.
man lppasswd
the man pages *really* do help. If you still do not understand after consulting the man pages, ask specific questions.
Actually, Patrick, I had already consulted "man lppasswd" before I replied. I find this man page, like almost every other one that I have visited, pretty inscrutable for a non-technical person like me. The logic seems to be circular: only root can add or change a password, but logging in as root or using sudo or su does not help me add or change the PW, because I don't know the PW that I am changing from. Whatever PW I am changing from, it is not the root PW nor the PW for my UID. If I have to have a PW generated by lppasswd, how do I get one if I don't have one to begin with, or don't know what it is? Thanks for your patience. Kelly -- Kelly J. Morris <kjmlists@comcast.net>
* Kelly J. Morris <kjmlists@comcast.net> [09-03-05 21:32]:
The logic seems to be circular: only root can add or change a password,
no: DESCRIPTION lppasswd adds, changes, or deletes passwords in the CUPS digest password file, passwd.md5. * When run by a normal user, lppasswd will prompt for the old and new passwords. * When run by the super-user, lppasswd can add new accounts (-a username), change existing accounts (username), or delete accounts (-x username) in the digest password file. .... The -g option specifies a group other than the system group - "sys", "system", or "root", depending on the operating system. normal user is kelly super-user is root
but logging in as root or using sudo or su does not help me add or change the PW, because I don't know the PW that I am changing from. Whatever PW I am changing from, it is not the root PW nor the PW for my UID. If I have to have a PW generated by lppasswd, how do I get one if I don't have one to begin with, or don't know what it is?
SYNOPSIS lppasswd [ -a ] [ -g groupname ] [ -x ] [ username ] to add kelly you need to be root to change kelly you need old password root can do everything as root to remove kelly lppasswd -x kelly as root to remove root lppasswd -x root as root to add root lppasswd -a root system will ask for password system will ask for confirm as root to add kelly lppasswd -a kelly system will ask for password system will ask for confirm as kelly to change kelly's password lppasswd kelly system will ask for old password system will ask for new password note: bad idea to use root's system password as lppasswd and bad idea to use kelly's system password as lppasswd remember that the man pages are written by programers mostly, not users. College professors do not talk (for the most part) at a third grade level. Almost EVERYONE has trouble understanding *some* of the manpages and some are very poorly written. gud luk, -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery
On Sat, 2005-09-03 at 21:59 -0500, Patrick Shanahan wrote:
* Kelly J. Morris <kjmlists@comcast.net> [09-03-05 21:32]:
The logic seems to be circular: only root can add or change a password,
no:
DESCRIPTION lppasswd adds, changes, or deletes passwords in the CUPS digest password file, passwd.md5.
* When run by a normal user, lppasswd will prompt for the old and new passwords.
* When run by the super-user, lppasswd can add new accounts (-a username), change existing accounts (username), or delete accounts (-x username) in the digest password file.
....
The -g option specifies a group other than the system group - "sys", "system", or "root", depending on the operating system.
normal user is kelly super-user is root
but logging in as root or using sudo or su does not help me add or change the PW, because I don't know the PW that I am changing from. Whatever PW I am changing from, it is not the root PW nor the PW for my UID. If I have to have a PW generated by lppasswd, how do I get one if I don't have one to begin with, or don't know what it is?
SYNOPSIS lppasswd [ -a ] [ -g groupname ] [ -x ] [ username ]
to add kelly you need to be root to change kelly you need old password root can do everything
as root to remove kelly lppasswd -x kelly
as root to remove root lppasswd -x root
as root to add root lppasswd -a root system will ask for password system will ask for confirm
as root to add kelly lppasswd -a kelly system will ask for password system will ask for confirm
as kelly to change kelly's password lppasswd kelly system will ask for old password system will ask for new password
note: bad idea to use root's system password as lppasswd and bad idea to use kelly's system password as lppasswd
remember that the man pages are written by programers mostly, not users. College professors do not talk (for the most part) at a third grade level. Almost EVERYONE has trouble understanding *some* of the manpages and some are very poorly written.
gud luk,
Patrick - Thanks very much. This is a big help. In retrospect, this looks obvious :-) I set the lp PWs to new ones different from the user PWs for root and kelly and used the URL that Terry supplied to re-configure the printer from A4 to US Letter. Thanks again. Kelly
-- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery
-- Kelly J. Morris <kjmlists@comcast.net>
Hello, On Sep 3 20:45 Terry Eck wrote (shortened):
What I did: "lppasswd -a root" then entered root's password. I was then able to login to CUPS and change the paper size from A4 to letter.
As long as you only use the CUPS HTTP web-frontend on localhost there should be no big security problem. But when you use the CUPS HTTP web-frontend from any remote host then note that HTTP does plain-text data transfer so that your root password would be transferred from the remote host to the host where the cupsd runs as plain-text. Therefore it is recommended to use at least a different password for admin authentication for CUPS. Personally I recommend to do remote CUPS administration only via login via ssh on the host where the cupsd runs and then use command line tools. Alternatively login via "ssh -X" and then you can use even any graphical printer admin tool (e.g. YaST). I.e. I recommend to use only one well known secure method to access a remote host. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5 Mail: jsmeix@suse.de 90409 Nuernberg, Germany WWW: http://www.suse.de/
Johannes Meixner wrote:
Hello,
On Sep 3 20:45 Terry Eck wrote (shortened):
What I did: "lppasswd -a root" then entered root's password. I was then able to login to CUPS and change the paper size from A4 to letter.
As long as you only use the CUPS HTTP web-frontend on localhost there should be no big security problem.
Thanks for the info. My printer is local and I have only one computer tied to the printer. I'll keep your information in mind if I every expand my system. Terry -- SuSE Linux 9.3 (i586) -- 2.6.11.4-21.9-default -- Mon 09/05/05 8:45am up 1 day 17:51, 3 users, load average: 0.00, 0.00, 0.00
I have had problems that sound very similar to yours. I found that the only way I can get this to work, but it works consistently for me now, is to start the printing manager, then put it into adminstrator mode. From here, I can make changes. If however, I make the changes and am prompted for authorization at that point, it _always_ rejects my credentials. HTH Cheers, Simon --- Terry Eck <terry_eck@comcast.net> wrote:
suse_gasjr4wd@mac.com wrote:
It sounds like you need to finish setting up the printer...I think it defaults to A4...those sizes are for everyone else but the US.
My guess is you can do this by going to: http://127.0.0.1:631/printers
There are other ways...
I tried the above in Konqueror but a user and password is required. I tried using "root" along with the correct password but no go. What user and password should be used for CUPS.
Terry
-- SuSE Linux 9.3 (i586) -- 2.6.11.4-21.9-default -- Sat 09/03/05 8:00pm up 5:06, 3 users, load average: 0.92, 0.44, 0.29
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
"You can tell whether a man is clever by his answers. You can tell whether a man is wise by his questions." Naguib Mahfouz __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
participants (6)
-
Johannes Meixner
-
Kelly J. Morris
-
Patrick Shanahan
-
Simon Roberts
-
suse_gasjr4wd@mac.com
-
Terry Eck