Re: cups without a password?

2015-02-23 Thread ToddAndMargo

On 02/21/2015 08:32 AM, Brandon Vincent wrote:

On Fri, Feb 20, 2015 at 5:17 PM, ToddAndMargo toddandma...@zoho.com wrote:

Before you shake the finger at me, all of the below were no security
installations,


The finger will be shook regardless. Eventually a no security
installation will be connected to a different network than originally
intended.


Twice on FC21 machines and once on a OSx machine I have been caught not
being able to use CUPS (http://127.0.0.1:631) because the administration
function required the root's (OSx was the user's) password. And, they had it
and all others set to blank password. Cups must have a password, so I
couldn't use the administration functions.

Is there a way around this besides assigning a password (which will
not endear me to the customer[s])?


I commented out the lines starting with Require in cupsd.conf and
was able to achieve what I believe you wanted.

Brandon Vincent


Thank you!


Re: cups without a password?

2015-02-23 Thread ToddAndMargo

On 02/21/2015 04:14 AM, Bluejay Adametz wrote:

Is there a way around this besides assigning a password (which will
not endear me to the customer[s])?


Can you create another account that's used for CUPS administration?
I've done that on one SL6 machine so the application admins can deal
with their printers. IIRC, I created a group and added it to the
SystemGroup line in /etc/cupsd.conf. Assign the user account(s)
membership to that group.



I had not thought of that.  Thank you!


--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~


Re: cups without a password?

2015-02-21 Thread Brandon Vincent
On Fri, Feb 20, 2015 at 5:17 PM, ToddAndMargo toddandma...@zoho.com wrote:
 Before you shake the finger at me, all of the below were no security
 installations,

The finger will be shook regardless. Eventually a no security
installation will be connected to a different network than originally
intended.

 Twice on FC21 machines and once on a OSx machine I have been caught not
 being able to use CUPS (http://127.0.0.1:631) because the administration
 function required the root's (OSx was the user's) password. And, they had it
 and all others set to blank password. Cups must have a password, so I
 couldn't use the administration functions.

 Is there a way around this besides assigning a password (which will
 not endear me to the customer[s])?

I commented out the lines starting with Require in cupsd.conf and
was able to achieve what I believe you wanted.

Brandon Vincent


Re: cups without a password?

2015-02-21 Thread Nico Kadel-Garcia
On Sat, Feb 21, 2015 at 11:32 AM, Brandon Vincent
brandon.vinc...@asu.edu wrote:
 On Fri, Feb 20, 2015 at 5:17 PM, ToddAndMargo toddandma...@zoho.com wrote:
 Before you shake the finger at me, all of the below were no security
 installations,

 The finger will be shook regardless. Eventually a no security
 installation will be connected to a different network than originally
 intended.

Heh. Before getting too much into security models of old software, and
how they don't play well with others, Do take a look at the old CUPS
interface rant by Eric Raymond, The Luxury of Ignorance. And I've
certainly had environments where the root user's password was
*locked*, and only sudo or controlled SSH key access to the root
account was permitted. So there could be issues there, too.

 Twice on FC21 machines and once on a OSx machine I have been caught not
 being able to use CUPS (http://127.0.0.1:631) because the administration
 function required the root's (OSx was the user's) password. And, they had it
 and all others set to blank password. Cups must have a password, so I
 couldn't use the administration functions.

 Is there a way around this besides assigning a password (which will
 not endear me to the customer[s])?

 I commented out the lines starting with Require in cupsd.conf and
 was able to achieve what I believe you wanted.

 Brandon Vincent

Good catch!


Re: cups without a password?

2015-02-21 Thread Bluejay Adametz
 Is there a way around this besides assigning a password (which will
 not endear me to the customer[s])?

Can you create another account that's used for CUPS administration?
I've done that on one SL6 machine so the application admins can deal
with their printers. IIRC, I created a group and added it to the
SystemGroup line in /etc/cupsd.conf. Assign the user account(s)
membership to that group.

 - Bluejay Adametz, CFII, AP, AA-5B, http://wildcorvid.org

186,000 miles/second. It's not just a good idea. It's the LAW!

-- 
NOTICE: This message, including any attachments, is only for the use of the 
intended recipient(s) and may contain confidential and privileged 
information, or information otherwise protected from disclosure by law.  If 
the reader of this message is not the intended recipient, you are hereby 
notified that any use, disclosure, copying, dissemination or distribution 
of this message or any of its attachments is strictly prohibited.  If you 
received this message in error, please contact the sender immediately by 
reply email and destroy this message, including all attachments, and any 
copies thereof. 


Re: cups without a password?

2015-02-20 Thread ToddAndMargo

On 02/20/2015 04:17 PM, ToddAndMargo wrote:

Hi All,

Before you shake the finger at me, all of the below were no security
installations,

Twice on FC21 machines and once on a OSx machine I have been caught not
being able to use CUPS (http://127.0.0.1:631) because the
administration function required the root's (OSx was the user's)
password. And, they had it and all others set to blank password. Cups
must have a password, so I couldn't use the administration functions.

Is there a way around this besides assigning a password (which will
not endear me to the customer[s])?

Many thanks,
-T




From CUPS FAQ:

A: If you have setup your computer to not require a password or have a 
blank or empty password, then the CUPS web interface will not work for 
you. CUPS requires a login username and password to allow you to make 
changes through the web interface.


Bummer.



--
~~
Computers are like air conditioners.
They malfunction when you open windows
~~