Re: Printers : enabled non root? F15\16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2011-12-01 at 15:57 +0000, Frank Murphy wrote:
> How can I get the logged in user to
> check the "enabled" box for installed printers.
> 
> As sometimes it unchecks itself,
> and then to go looking for a root p\w,
> if root person is not there.
> Not wanting to add everyone as a sudo.

Firstly, it would be a good idea to find out why the printer is getting
disabled.  Perhaps there are failures printing jobs -- are they expected
failures?  Is the error policy as you want it to be?  Perhaps 'Abort
job' would be better than 'Stop printer' in your case.

Once you've looked at that, if you still want to allow
enabling/disabling a printer for specific groups of users, configure
polkit.

You can find out the polkit "action" you need to configure by looking at
'polkit -v'.  In this case, here it is:

org.opensuse.cupspkhelper.mechanism.printer-enable:
  description:       Enable/Disable a printer
  message:           Privileges are required to enable/disable a
printer, or a class.
  vendor:            The openSUSE Project
  vendor_url:        http://www.opensuse.org/
  icon:              printer
  implicit any:      auth_admin
  implicit inactive: auth_admin
  implicit active:   auth_admin_keep

You might want to change the "active" policy (i.e. the behaviour for
local active sessions) to "allow" for this action.

The pklocalauthority(8) man page explains how to do this.

There is some discussion of this relating to system-config-printer,
along with an example, here:
https://fedoraproject.org/wiki/Printing/ConfigurationTool#PolicyKit_configuration

Tim.
*/

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux