Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Giving users printstat authorizations

Status
Not open for further replies.

wizzer

IS-IT--Management
Sep 20, 2000
86
GB
Hopefully an easier one than my previous query!

On my old server i'd given all of my users the printstat authorization so that they could use the enable and disable commands with printers. I seem to remember that there was a command that i typed to do this possibly starting with ch? But i can't remember.
I've had a good look though man pages etc and the best i can come up with is that i need to edit the default authorizations to include printstat but i can't figure out how to do that either. I've manually edited the /etc/auth/system/default file, but that doesn't make any difference. I can manually add the authorization to the user in "scoadmin accounts" and tell it not to use the defaults but i dont want to have to do this for everyone!
I'm sure i found this much easier last time, maybe i'm just looking for the wrong thing!

Thanks
James
 
Ok i've answered my own question. It's the printerstat authorization and i use the usermod command:
usermod -D -x "{auths {printerstat} }"

Hope that's of use to someone else!
James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top