Add a user to the Print Operator group

To add a non administrative user to the Print Operators group, you need to enter the following command into a Terminal window

sudo dseditgroup -o edit -u ADMINISTRATOR -p -a USER -t user _lpadmin

You will need to replace ADMINISTRATOR with the shortname of an admin account & you will need to replace USER with the shortname of the account you wish to add to the print operators group

when you hit enter then you will be prompted for your admin password, so enter that, but you will then be prompted “Please enter user password”, enter the password associated with the admin account mentioned in the command

To check if the user has been added to the Print Operators group then enter the following into a Terminal window

dscl . -read /Groups/_lpadmin GroupMembership

HELP! I’ve forgotten my administrator password – 10.7

If you have forgotten the passwords to any of your accounts on a mac then you can reset them by following these instructions

Reboot your Mac and hold down ALT

When it shows all available drives, choose the Recovery HD, if you have set a firmware password, then you will need to enter that before getting to the available drives

When booted into the Recovery HD, click on Utilities and then choose Terminal

When the Terminal window opens, type the following

resetpassword

A new window will open, click on your System Drive and you will then be able to select any available account on that drive and reset the password for it

Please be aware that you will not gain access to the keychain for that account, so if you are after information saved in that keychain then you won’t be able to get it. 

Show Hidden Files

You can see hidden files by in the Terminal, but if you wish to display them in Finder then you will need to do the following

Open Terminal and type

defaults write com.apple.Finder AppleShowAllFiles TRUE

then

killall Finder

Open a Finder window and you will see the previously hidden files, if you wish to switch back then you can do the following

Open Terminal and type

defaults write com.apple.Finder AppleShowAllFiles FALSE

then

killall Finder

Open a Finder window and all the unhidden files will now revert to being hidden again.

Enable Users to resume printers

If you are having an issue where your users printers keep on getting paused, then you will want to make use of the following solution

You will need to edit the cupsd.conf file, this is located in /etc/cups/

You will need to be in an admin account, or if in a users account then su into an admin account

Then open a Terminal and type the following

sudo nano /etc/cups/cupsd.conf

Now look for the following section

# 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 CUPS-Get-Devices>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>

Now comment this out or delete it, entirely up to you, but I prefer the to comment it out as a fall back option in the event of an error

Now add the following section just under the commented section

# Allow non-admin users to add printers
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
Require valid-user
Order allow, deny
Allow all
</Limit>

Now find the following section and comment it out

# 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 Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @AUTHKEY(system.print.operator) @admin @lpadmin
Order deny,allow
</Limit>

Now add the following section under the commented section

# Allow non-admin users to pause and resume printers
<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 Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
Require valid-user
Order allow, deny
Allow all
</Limit>

Press CTRL-X, then press Y, then press ENTER to save the file
THIS KEY COMBINATION WILL OVERWRITE THE EXISTING CUPSD.CONF FILE!

Now log in to a user account, and test this by pausing a printer and trying to resume it, if all has been done correctly then this should resume the printer with no issues.