PDA

View Full Version : Authentication to mount device - permanent ??


flokip
2009-09-06, 06:32 PM CDT
IN F12 I have not found a way to give user a permanent permission to mount an additional internal disk. I have done this in F11. I did this with polkit-gnome-authorization ( i think).
I have forgot how I did this.
How is it done in F12.

jvillain
2009-09-07, 08:52 PM CDT
If it still exists in F12 you should have a look in

/etc/security/console.perms
/etc/security/console.perms.d

or do a man on console.perms

NBZ
2009-09-23, 05:33 AM CDT
There used to be a GUI package for this (and all other authorisations) in Fedora 11 - is that still there for Fedora 12? if so, anyone remember the name? I can't seem to find it...

jvillain
2009-09-23, 07:06 PM CDT
system-config-authentication might do it. As a KDE user I hate having 1000 gnome packages shoved down my throat in order to use those tools so I just hack by hand.

PeTzZz
2009-10-21, 10:00 AM CDT
I have exactly the same question. In Fedora 11 I used polkit-gnome-authorization for that, but it is missing in Fedora 12 Beta.

AdamW
2009-10-21, 04:13 PM CDT
y'know, I've been wondering that for this entire cycle. time to email david z. and scratch my curiosity itch.

PeTzZz
2009-10-26, 10:02 AM CDT
y'know, I've been wondering that for this entire cycle. time to email david z. and scratch my curiosity itch.
Any new information? I would file a bug report, but I don't know against what. Also, I hadn't any good results searching any reported bugs about that.

AdamW
2009-10-26, 08:36 PM CDT
didn't get a reply yet...

Palooka
2009-10-30, 01:48 PM CDT
didn't get a reply yet...

Any reply yet?

Palooka

AdamW
2009-10-30, 11:43 PM CDT
Nope. I'll try again in a bit. Busy with F12 blockers ATM...

Palooka
2009-10-31, 03:57 AM CDT
Nope. I'll try again in a bit. Busy with F12 blockers ATM...

OK. Thanks for the update. I'll keep watching.

Palooka

pjoh
2009-10-31, 07:20 PM CDT
i made a file called 50-mount-local-fs.pkla (i think you can use any name as long as it ends with .pkla) in /var/lib/polkit-1/localauthority/50-local.d/ with the following in it

# file to allow me to mount local filesytems without password
#
[allow me to mount local filesystems]
Identity=unix-user:paul
Action=org.freedesktop.devicekit.disks.filesystem-mount-system-internal
ResultAny=no
ResultInactive=no
ResultActive=yes


needs your user name not mine, if there is a smiley face above it should read unix-user followed by paul, seperated by a colon


also from http://fedoraproject.org/wiki/Features/PolicyKitOne
The policy editor under System → Preferences → Authorizations is going to go away.

and see http://hal.freedesktop.org/docs/polkit/pklocalauthority.8.html
for more info

Palooka
2009-11-01, 02:50 AM CST
Excellent. Very many thanks for that, pjoh.


Palooka

PeTzZz
2009-11-01, 02:59 AM CST
Thanks for the links!

No GUI for this kind of things yet?

RahulSundaram
2009-11-06, 01:37 AM CST
Hi,

Some more details in this thread

https://www.redhat.com/archives/fedora-desktop-list/2009-October/msg00043.html