The new policykit in Ubuntu 9.10 Karmic doesn’t have a GUI for remembering settings like authentication password to mount a drive/partition. Even without a GUI you can change policies fairly easy by going to /usr/share/polkit-1/actions and editing the right XML file with your favorite editor.

Simply do the following.

Open terminal and enter:
sudo gedit /usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy

Find the action id:
org.freedesktop.devicekit.disks.filesystem-mount-system-internal

Within that action id look for the line:
<allow_active>auth_admin_keep</allow_active>
and replace it with:
<allow_active>yes</allow_active>

Save the file and witness the drives mounted without entering an authentication password.

screenshot-authenticate

By Adi Moore

Adi MooreFounder
Adi, the anti-censorship crusader and tech-preneur, bootstrapped his first venture in 2001 from his attic into a digital empire. With a heart for open dialogue and transparent technology, he tackles censorship like a pro wrestler. Dive into his deep insights on freedom of speech, internet liberation, and his secret info recipe.

11 Comments

  1. When I installed ubuntu 9.10 I created an extra partition on first hard drive called /backupPhil

    This doesn\’t require a password and appears in the root (not in /media).

    I then added a second hard drive using the Disc Utility and gave it the label /backupMary

    It also appears in the root and doesn\’t require a password.

  2. I also dont like the new policy in 9.10. I have \”CPU Frequency Scaling Monitor 2.26.1\” Installed and every time i change it i have to enter the password. Can this tweek work for This tool too?

  3. hi, then i typed: sudo gedit /usr/share/polkit-1/actions/org.freedesktop.devicekit.disks.policy in terminal and than i prees enter it need that i type password but i can\’t type anything :( ansver in gmail pls ([email protected])

  4. @Laurynas: When you use sudo, or anything that asks you for your password in linux in a terminal, you won\’t see anything when typing your password. Just type your password and press enter when it asks for it, it will work.

  5. @Laurynas: Its best if your password is not visible when you type. Otherwise it wont remain a password :)

Leave a Reply

Your email address will not be published. Required fields are marked *

Post comment