FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 12-01-2011, 02:57 PM
Frank Murphy
 
Default 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
 
Old 12-01-2011, 03:35 PM
Tim Waugh
 
Default 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
 

Thread Tools




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

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org