Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am starting to develop a cups printing system to the University which hired me. The system is in progress, but the main issue is user management (how to control unauthorized users from printing service since it is a network printer). I tried this command on terminal lpadmin -p printer -u deny:user, but it doesn't work. So, in one hand this type of management will not be effective. Because, it is tedious to deny all users one by one, on the other hand the printing authentication should deny users by group and/or ask some authentication method(eg. username and password) to print.
So, please help me as usual.
I expect best user management method and/or tool for cups printing system from you.
Sorry for my bad English
Thanks all!
Hello there in my previous question, I have not gotten any solution. So, to give you a hint I tried to edit in this way on /etc/cups/printers.conf
----------------------------------------------------------------------
<Printer hp-niguss>
UUID urn:uuid:1310d9c5-e761-3449-5a43-082bd134750a
AuthInfoRequired username/password
Info hp-test
Location ict001
DeviceURI ipp://10.140.11.232/ipp
PPDTimeStamp *
State Idle
StateTime 1420576550
Type 8433684
Accepting Yes
Shared No
ColorManaged Yes
JobSheets none none
QuotaPeriod 0
PageLimit 2
KLimit 0
DenyUser 10.140.11.118
OpPolicy default
ErrorPolicy retry-job
Attribute marker-colors none,none
Attribute marker-levels 100,88
Attribute marker-names Black Cartridge HP Q5942A,Maintenance Kit HP 110V-Q5421A, 220V-Q5422A
Attribute marker-types toner-cartridge,fuser
Attribute marker-change-time 1420576174
</Printer>
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Rep:
open a browser enter this url: http://localhost:631/printers/
select a printer
select 'Set allowed users' fro the 'administartion' drop down and fill in the box.
Hello there,
Thanks, Keith Hedger
I tried this your hint
Quote:
open a browser enter this url: http://localhost:631/printers/
select a printer
select 'Set allowed users' fro the 'administartion' drop down and fill in the box.
but it didn't work
Do you know about PyKota for the purpose of cups printing management? Because, still I haven't gotten any system to manage this.
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Rep:
In what way didn't work? Do you have admin privileges for cups? This should work you may have to reset the ownership and permissions of the various cups files. The users that need admin privileges for CUPS should be a member of lpadmin and if they don't they shouldn't.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.