[Casper] Allow Non-Admin Users to Add Printers in Leopard
Martin van Diemen
martin-van-diemen at g-star.com
Thu Dec 18 01:24:01 PST 2008
Hi,
I want users to be able to add printers without filling in the administrators password.
I did some research and found out that I just need to remove the following lines from the /etc/cups/cupsd.conf:
<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>
<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$
AuthType Default
Require user @AUTHKEY(system.print.admin) @admin @lpadmin
Order deny,allow
</Limit>
Source: http://mattson.edgemereroadrunners.com/?p=291
Does anyone know I can remove these lines with a bash script? I don't want to replace the file by making use of a package.
Thanks in advance!
Kind Regards,
Martin van Diemen
t +31(0) 205677744
__________________
G-Star International B.V.
www.g-star.com
More information about the Casper
mailing list