HowTo Remember Authentication Mounted Drive in Ubuntu 9.10 Karmic

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

Stumbleupon

Related posts:

  1. No sound issue SB Audigy in Ubuntu 9.04 & 9.10 Karmic Koala
  2. Jaunty Jackalope and Karmic Koala
  3. Canonical betas Ubuntu music store
  4. Tech week in review: P2P battles, Android on Ubuntu, and more

Tags: , , , , , , , , ,

Thursday, November 5th, 2009 Linux, Tutorials/Guides/HowTo

10 Comments to HowTo Remember Authentication Mounted Drive in Ubuntu 9.10 Karmic

  • Phil says:

    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.

  • basant says:

    really its works.

    Thanks

  • El Marconi says:

    Yup, worked.
    Thanks!

  • Linuxnut says:

    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?

  • Romuald says:

    I’ve been searching the solution for so long.Thanks a lot. Really works for me as well

  • domi says:

    yes,this working for me

  • Laurynas says:

    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 (FingeTM@gmail.com)

  • Laurynas says:

    what sould i do? :( ((( sry for my horible english :s

  • Azyclar says:

    @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.

  • Leave a Reply