Hi How can I allow users to manage printers in FC23? For example if hey need to pause/resume the printer, right now they need the admin with the root password to do it. This is a home setting so I do not mind people doing it (but I do mind having to go to their rescue :) )
I tried already adding them to the lp and even created a printers group but still I get the prompt for the root user when I try to manage the print queue
Thanks
Is there a document that describe the printing process as applied to the FC23 environment what choices and limitations have been applied and where to look to troubleshoot stuff?
Thanks
On 05/16/16 01:56, Javier Perez wrote:
How can I allow users to manage printers in FC23? For example if hey need to pause/resume the printer, right now they need the admin with the root password to do it. This is a home setting so I do not mind people doing it (but I do mind having to go to their rescue :) )
I tried already adding them to the lp and even created a printers group but still I get the prompt for the root user when I try to manage the print queue
You could give the users sudo access to the set of commands needed. And, if you want, you could make this access available without them using their own password.
Allegedly, on or about 15 May 2016, Javier Perez sent:
How can I allow users to manage printers in FC23? For example if hey need to pause/resume the printer, right now they need the admin with the root password to do it. This is a home setting so I do not mind people doing it (but I do mind having to go to their rescue :) )
On my admittedly older installation, the CUPS documentation suggests that you ought to be able to do that kind of thing, and I would have thought the functionality remained.
Referring to: http://localhost:631/help/policies.html
Part of the cupds.conf file:
#Only the owner or an administrator can cancel or authenticate a job... <Limit Cancel-Job CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit>
With @OWNER being the owner of the particular print job. They should be able to load up the CUPS webpage http://localhost:631/ (or the hostname of the print server instead of localhost), go to the jobs page, and manage their print job(s).
As far as I knew, that's how the default installation set things up. Though things can be more of a managing nightmare when you have a central CUPS server, and a variety of clients. You're remote users, in that scenario, and had to manually reconfigure the server to allow remote management. Probably had to ensure that remote users had the same account name and IDs set up on the server system, too. So that remote owner = local owner.
If you're doing it some other way, such as a dedicated printing control panel in your desktop, then I would have expected that to work without any fuss.
But again, if you've got a network where people hit print, your program sends the job to its own local CUPS server, which passes it over to your central LAN CUPS server, the job has been handed out of your local control, and needs to be managed through the central server.
Hi Ed.
I think I know how to do the first one, just add them to the sudoers list. I do not know about the second one, no password. Will it work on a graphical environment? How can I enable it?
JP
On Sun, May 15, 2016 at 8:03 PM, Ed Greshko ed.greshko@greshko.com wrote:
On 05/16/16 01:56, Javier Perez wrote:
How can I allow users to manage printers in FC23? For example if hey
need to
pause/resume the printer, right now they need the admin with the root
password to do
it. This is a home setting so I do not mind people doing it (but I do
mind having to go
to their rescue :) )
I tried already adding them to the lp and even created a printers group
but still I get
the prompt for the root user when I try to manage the print queue
You could give the users sudo access to the set of commands needed. And, if you want, you could make this access available without them using their own password.
-- You're Welcome Zachary Quinto -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On 05/16/16 12:20, Javier Perez wrote:
I think I know how to do the first one, just add them to the sudoers list. I do not know about the second one, no password.
Check out the examples in the /etc/sudoers file as well as the man page for sudoers.
Basically,
## Allows people in group wheel to run all commands %wheel ALL=(ALL) ALL
## Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL
Will it work on a graphical environment? How can I enable it?
No, this is just for command line. For that I'd look into what Tim had to say.
On Mon, 2016-05-16 at 12:21 +0930, Tim wrote:
Referring to: http://localhost:631/help/policies.html
Part of the cupds.conf file:
#Only the owner or an administrator can cancel or authenticate a job... <Limit Cancel-Job CUPS-Authenticate-Job> Require user @OWNER @SYSTEM Order deny,allow </Limit>
With @OWNER being the owner of the particular print job. They should be able to load up the CUPS webpage http://localhost:631/ (or the hostname of the print server instead of localhost), go to the jobs page, and manage their print job(s).
Just a bit of clarification:
You actually do have "@OWNER" typed in there, you're not supposed to replace OWNER with real user names. It's a variable that *it* works out the meaning of.
Likewise, with @SYSTEM (it's a variable, that it works out what it means). Which most likely is just root, but could include other users with system privileges. I don't know *how* that interpretation would be made (perhaps, such as being in the wheel group), I haven't looked that closely into it.
The original poster had made the point, elsewhere, that they'd tried adding users to different groups. But, I don't recall seeing whether any restarts of software, re-log-in, or reboots, had occurred, so that any changes can be noticed. I'd guess that the CUPS daemon would need a restart, at least.
Hi Do you have a link to Tim's suggestion. I only see your feedback on the replies, maybe it got somewhere else.
Thanks
JP
On Mon, May 16, 2016 at 12:20 AM, Ed Greshko ed.greshko@greshko.com wrote:
On 05/16/16 12:20, Javier Perez wrote:
I think I know how to do the first one, just add them to the sudoers
list.
I do not know about the second one, no password.
Check out the examples in the /etc/sudoers file as well as the man page for sudoers.
Basically,
## Allows people in group wheel to run all commands %wheel ALL=(ALL) ALL
## Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL
Will it work on a graphical environment? How can I enable it?
No, this is just for command line. For that I'd look into what Tim had to say.
-- You're Welcome Zachary Quinto -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
On 05/17/16 15:04, Javier Perez wrote:
Hi Do you have a link to Tim's suggestion. I only see your feedback on the replies, maybe it got somewhere else.
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/...
Should get you to the archived message....
Ed
Thanks
JP
On Mon, May 16, 2016 at 12:20 AM, Ed Greshko <ed.greshko@greshko.com mailto:ed.greshko@greshko.com> wrote:
On 05/16/16 12:20, Javier Perez wrote: > I think I know how to do the first one, just add them to the sudoers list. > I do not know about the second one, no password. Check out the examples in the /etc/sudoers file as well as the man page for sudoers. Basically, ## Allows people in group wheel to run all commands %wheel ALL=(ALL) ALL ## Same thing without a password # %wheel ALL=(ALL) NOPASSWD: ALL > Will it work on a graphical environment? How can I enable it? No, this is just for command line. For that I'd look into what Tim had to say. -- You're Welcome Zachary Quinto -- users mailing list users@lists.fedoraproject.org <mailto:users@lists.fedoraproject.org> To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org--
/_/\ |O O| pepebuho@gmail.com mailto:pepebuho@gmail.com
~~~~ While the night runs ~~~~ toward the day... m m Pepebuho watches from his high perch. -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org