Results 1 to 2 of 2

Thread: Password Protect Partitions

  1. #1
    Join Date
    Sep 2008
    Beans
    529
    Distro
    Ubuntu 12.04 Precise Pangolin

    Password Protect Partitions

    I wanted to password protect other partitions on my HDD so, I used the following code :

    gksu gedit /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla

    and made these changes in that file :

    #[Mounting, checking, etc. of internal drives]
    #Identity=unix-group:admin
    #Action=org.freedesktop.udisks.filesystem-*;org.freedesktop.udisks.drive-ata-smart*
    #ResultActive=auth_admin_keep


    But i am just once asked for password and then i can keep mounting all the partitions. I can add again after i unmount, close and reopen the file manager.

    I wish that the system asks for password, EVERY TIME i try to access any partition on my HDD or external drive / partition after i unmount it.

    How can we do that ?
    Last edited by 3dmatrix; October 24th, 2012 at 03:45 AM.

  2. #2
    Join Date
    Sep 2008
    Beans
    529
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Password Protect Partitions

    Any suggestion from anyone ?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •