Log in as superuser or lp on the print server.
Allow or deny users access to a form by using the lpforms command.
# lpforms -f form-name -u allow:user-list | deny:user-list |
-f form-name |
Name of the form for which the allow or deny user access list is being created. |
-u allow:user-list |
Represents users to be added to the allow access list. Use a comma or a space to separate users' login IDs. If you use spaces, enclose the list of IDs in quotes. Table 5-5 provides the valid values for user-list. |
deny:user-list |
Represents users to be added to the deny user access list. Use a comma or a space to separate users' login IDs. If you use spaces, enclose the list of IDs in quotes. Table 5-5 provides the valid values for user-list. |
The specified user(s) are added to the allow or deny user access list for the specified form in one of the following files on the print server:
/etc/lp/forms/form-name/allow or
/etc/lp/forms/form-name/deny
Verify the allow and deny user access lists by using the lpforms command.
# lpforms -f form-name -l |
In the following example, the command allows only the users nathan and marcia access to the check form.
# lpforms -f check -u allow:nathan,marcia |
In the following example, the command denies users jones and smith access to the dental form.
# lpforms -f dental -u deny:"jones,smith" |