The -U option in lp and lpr
Michael Sweet
mike at easysw.com
Wed Dec 20 05:43:23 PST 2006
Opher Shachar wrote:
> Hello all,
> CUPS 1.2.x adds a -U username option to lp and lpr. This allows any user on the local machine to submit a job as another user without authentication (by default). To dissallow this I added
> AuthType Basic
> Require valid-user
> under <Location /printers/MyPriner>. Now while user 'root' can submit jobs with lp without being required to enter a password, all other users submiting a job as themselfs (not using -U) are required for their password.
> I'd like to set-up things such that users on the local machine can send jobs as themselfs - using lp - without being required for a password and, in all other cases be asked to autheticate.
That isn't possible in 1.2; with 1.3, you will be able to use Kerberos
for that...
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Publishing Software http://www.easysw.com
More information about the cups
mailing list