Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2nd September 2012, 10:20 AM
Tieum Offline
Registered User
 
Join Date: Nov 2009
Posts: 58
linuxfirefox
Mounting a luks encrypted device from Places

Hello,

I have a luks encrypted device that I mount on demand by clicking on it in the places menu (yes I am using Gnome fallback mode). In Fedora 16 everything worked fine but in Fedora 17 I am facing two issues.

First root password is asked to unlock the luks system. I allowed users to run crytpsetup without password through sudo with no luck.

Secondly after the luks device is unmounted it will not mount. I have the correct entry in /etc/fstab including allowing users to mount it. If I open a terminal and enter the mount command it mounts correctly.

I'd like to have users being able to mount that partition if they need by just entering its luks passphrase as they were able to do in Fedora 16.

Thanks,

Tieum

---------- Post added at 05:20 AM ---------- Previous post was at 04:27 AM ----------

Number 1 solved by creating /var/lib/polkit-1/localauthority/50-local.d/10-udisks2.encrypted-unlock-system-policy.pkla with content
Quote:
Identity=unix-user:*
Action=org.freedesktop.udisks2.encrypted-unlock-system
ResultAny=auth_admin
ResultInactive=auth_admin
ResultActive=yes
Still looking for a solution for #2.
For #2 if I remove the /etc/fstab line I defined it mounts in /run/media/username/diskname . However this is not what I want. I want to mount it elsewhere.
Reply With Quote
  #2  
Old 20th January 2013, 08:30 PM
Tieum Offline
Registered User
 
Join Date: Nov 2009
Posts: 58
linuxfirefox
Re: Mounting a luks encrypted device from Places

Update for Fedora 18:

Number 1 solved by creating /usr/share/polkit-1/rules.d/99-udisks2.encrypted-unlock-system-policy.rules with content
Quote:
polkit.addRule(function(action, subject) {
if (action.id == "org.freedesktop.udisks2.encrypted-unlock-system") {
return polkit.Result.YES;
}
});
Reply With Quote
Reply

Tags
device, encrypted, luks, mounting, places

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LUKS encrypted /tmp corruption LinuxTom Using Fedora 0 29th June 2011 07:04 PM
Fedora 15, LUKS Encrypted Logical Volumes not mounting on boot Ninefingers Installation and Live Media 2 26th May 2011 01:13 PM
mounting encrypted luks partition with keyfile gnapp Using Fedora 0 27th March 2009 08:27 AM
Mounting luks encrypted external HD sentry Hardware & Laptops 6 28th February 2009 03:14 PM
LUKS Encryption system slowdown/broken Places menu Unlimited Using Fedora 4 10th November 2008 09:56 AM


Current GMT-time: 15:22 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat