Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora User (http://www.linux-archive.org/fedora-user/)
-   -   Printers : enabled non root? F1516 (http://www.linux-archive.org/fedora-user/605135-printers-enabled-non-root-f1516.html)

Frank Murphy 12-01-2011 02:57 PM

Printers : enabled non root? F1516
 
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 pw,
if root person is not there.
Not wanting to add everyone as a sudo.

--
Regards,

Frank Murphy
UTF_8 Encoded
Friend of fedoraproject.org
--
users mailing list
users@lists.fedoraproject.org
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

Tim Waugh 12-01-2011 03:35 PM

Printers : enabled non root? F1516
 
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 pw,
> 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.
*/

--
users mailing list
users@lists.fedoraproject.org
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


All times are GMT. The time now is 05:11 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.