Help. How do I get a user name and password
Paul
paul.conklin at cerner.com
Mon May 9 07:45:51 PDT 2011
You could just disable the need for security in cupsd.conf if it's just you doing it.
I think modifying these sections should be enough.
# Restrict access to the server...
<Location />
Order allow,deny
Allow All
</Location>
# Restrict access to the admin pages...
<Location /admin>
# Encryption IfRequested
Order allow,deny
Allow All
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
Allow All
</Location>
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an administrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
# Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
# AuthType Default
# Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
# AuthType Default
# Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
# Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
> Please help.
> I have installed a series of foomatic and CUPS files to use a HP 1600 Colour Laser Printer with Mac OSX 10.6 which has no dative driver.
> Now the next step is to call http://localhost:631/ and under Administration set the printer's setting to "coulour" instead of the default "monochrome".
> However when I want to secure this printing settings, a CUPS user and password are requested from me in a window appearing on the top.
> I tried with my admin acccount name and password but the window with the prompt comes again and again.
> I set the "root" option in MAC OSX, which in its default position is off, and tried with "root" and its password. This did not help either.
> The window still comes again and again.
> I found somewhere in the web, that in the MAC Terminal-Utility I had to add myself as a user with the following:
> "lppasswd -a myusername"
> and give twice the password.
> However this should be done apparently as "root" since with as admin it is refused.
> I have no UNIX knowledge how to change the prompt which is:
> "MyNames-Mac-Pro:~ myshortusername$ " ...
> in order to be "root" and be accepted as a user with a password.
> Or is there an easy way in CUPS to save the setting "color" as definitive default printing setting?
> Thank you very very much for any kind help.
> Edmond
More information about the cups
mailing list