LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-11-2011, 12:27 PM   #1
jtwdyp
Member
 
Registered: Apr 2011
Distribution: antiX, Mageia, OpenSUSE, etc... I multi-boot
Posts: 36

Rep: Reputation: 0
localhost631 (cups) opera warns admin password will be sent unencrypted?


To do anything worthwhile in the cups http interface I always need to enter my root password... I never thought much about it when I went there with Firefox. But I recently happened to be running opera when I wanted to change the printer default option to grayscale, but when the admin login prompt popped up, opera warns in red letters,
"Your password will be sent unencrypted"

I'm not really sure I understand this correctly, but even if opera's warning is correct and when I login as root to localhost631 to change some printer settings, and my root password really is always sent without encryption, I'm hoping that since localhost is in fact the computer I'm running, this unencrypted transmission should be rather difficult for somebody to acquire my root password from????

I mean I find it hard to believe that the official cups interface would really want to expose the admin password.

I guess my question is what's the risk?
 
Old 08-11-2011, 05:04 PM   #2
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
Since the 'connection' is not traveling over any wires etc. the risk is about the same as entering your password at any other time except in one way. any process 'listening' on local host can grab the password whereas in most situations the only way would be to scan the keyboard.
The good (and bad) news is, if you have malware running on your system that would use this for the wrong reason, (e.g. a rootkit) you already have a compromised system with a much greater security risk.
But you should not be running as root to begin with. You should be using your user password which limits exposure to root processes and provides better options for tracking unauthorised use. (which is probably what you meant by 'root' password right?)
 
1 members found this post helpful.
Old 08-12-2011, 08:01 AM   #3
jtwdyp
Member
 
Registered: Apr 2011
Distribution: antiX, Mageia, OpenSUSE, etc... I multi-boot
Posts: 36

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by glue
Since the 'connection' is not traveling over any wires etc. the risk is about the same as entering your password at any other time except in one way. any process 'listening' on local host can grab the password whereas in most situations the only way would be to scan the keyboard.
Methinks anyone good enough to hack into a Linux system, is probably good enough to scan the keyboard so I don't think I'll worry too much about that diff...

Quote:
Originally Posted by glue
The good (and bad) news is, if you have malware running on your system that would use this for the wrong reason, (e.g. a rootkit) you already have a compromised system with a much greater security risk.
Yup. Not too sure how I'd know if my system was so compromised... But unless Firefox and/or opera will install a "rootkit" if I click on the wrong link? I doubt my system is overly at risk...

Quote:
Originally Posted by glue
But you should not be running as root to begin with. You should be using your user password which limits exposure to root processes and provides better options for tracking unauthorised use. (which is probably what you meant by 'root' password right?)
Actually here I have a slightly different theory... I agree that running as root is a dumb idea. But I always "have" a root account {even on Ubuntu systems} and set targetpw in the sudoers file on the theory that using the same "generic" password that I type as often as I do my basic login password is something that sooner or later I'll get too lazy to remember to make sure nobody is looking over my shoulder... I mean it's not like somebody has to wait till I'm doing a root function to see me typing in the regular password. Where as when I'm about to do root level functions, I treat it like a loaded gun. It's dangerous, worthy of extra caution. I tend to look behind me first. If the developers who say we shouldn't use root's password to do root functions, figured out how to give users a two level password system so that the sudo password would be neither root's nor the one used just to login quickly to check for new mail before leaving for the day, I'd want to know about it...

But in any case thanks for putting my mind at ease about the cups interface.
 
Old 08-12-2011, 09:11 AM   #4
mike_rhce
Member
 
Registered: Jun 2011
Posts: 164

Rep: Reputation: Disabled
Actually, it's fairly easy to set up a regular user as a "Print Administrator" -- the key is the SystemGroup directive in /etc/cups/cupsd.conf

For example, if it's

SystemGroup sys root

You could add desired print admins to the sys group with a command like

groupmod -G sys user1

Of course, it may be better to use the pre-existing lp group for that purpose -- add that to the SystemGroup directive, and then use the groupmod command to add desired users to that group.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] cups admin fails samhill5215 Linux - Server 3 04-12-2011 08:06 AM
Never ending password on CUPS admin screen deathsfriend99 Linux - Software 2 01-22-2009 04:37 PM
CUPS: remote admin sysman Slackware 6 10-05-2007 12:36 AM
Admin cups Jeebizz Slackware 2 08-11-2007 02:03 PM
cups admin legin Debian 2 05-29-2004 08:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration