[cups.general] Security and lp command and -u option
Jerome Alet
alet at librelogiciel.com
Tue Apr 1 02:38:21 PDT 2008
On Thu, Mar 20, 2008 at 07:16:47AM -0700, cedric chambault wrote:
> I have a cups server and try to install client (ubuntu feisty).
> I have 1500 students using ldap authentication.
> lp command has a "-U" option to specify USERNAME.
> but if a student, username "student1" type "lp -U student2 file"
> it prints "file" using the "student2" account.
> I also use pykota for printing quotas and the command use the student2 quota.
> I don't know how to block "-U" option to prevent users to steal quota from others !
Still no (real) answer to this ?
Is this because the solution is in CUPS' documentation ?
Or is this because CUPS lacks the functionnality to ensure users
really are who they claim they are ?
Cedric if you can't do this with CUPS (I really don't know), since
you are using PyKota you can use its PyKotIcon add-on to do what you
want. The sample pykota.conf configuration file contains several
examples. You can also use PrintAgent it seems, which offer similar
functionnalities, although less generic if I understand correctly.
bye
Jerome Alet
More information about the cups
mailing list