I am using SCO 5.0.6 and checked scoadmin. I don't know how much different they are, or if they are different at all but in ver 5.0.6 in scoadmin you go to printers->printer manager
then select the printer you want to restrict printing to, the in the top menus go to: settings->advanced->users...
that should bring up a window with two boxes allow and deny.
put the users you want to deny into the deny box.
but that is how to do it in version 5.0.6, I can't imagine they changed it that much.
Bonestein...
Thanks for your help . Found it. But it will not list the users. Displayed the following message:
"Unable to get list of allowed/denied users. Failed to retrieve following attributes -
=> printerAllowedUsers
=> printerDeniedUsers
General failure occurred in processing attribute printerAllowedUsers.
An execution procedure has failed with the message: too many nested calls to Tcl_Eval (infinite loop?)".
I am trying to do the same thing. From what I've read, /var/spool/lp/admins/lp/printers/<printername>/users.allow and users.deny files are supposed to allow you to restrict use of the printer. If you place user names in the users.allow file, only those users are allowed access.
However, I have not been able to get this to work. I have a few users in the users.allow file, one user in the users.deny file, just to be sure, but the user I have denied can still print. Anyone know why this is?
I created them by hand for my remote printer. You can use the lpadmin -u option like PHV said (/usr/lib/lpadmin -p <printer> -u allow: <name1,name2,etc> OR /usr/lib/lpadmin -p <printer> -u deny:<name1,name2,etc>, which will create the file(s).
I've tried creating the file myself and entering the user names and using lpadmin (which ended up doing exactly the same thing) but neither has worked. Maybe there is something screwy on my system, though, so you can try it and let me know if it works on yours.
itfellow & PHV,
I did type in those parameters at command line and it looked like it took. No error messages appeared. But user still able to print to the printer. Do I need to lpshut and then lpstart??
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.