
Mount-partition
On Ubuntu 10.04 LTS, aka Lucid Lynx, when we mount the partition then no longer prompt appears to enter a password, different from previous releases such as Ubuntu 9.10 which requires us to enter the root password when mounting a partition, especially of type NTFS.
Lucid Lynx users may have forgotten the habit of entering a password when mounting the partition, but how if you want to restore that feature on the Ubuntu 10.04 +?
This feature is actually useful, especially to users who have many partition active and want to secure from users who are not given access rights.
Note: not useful if you make your partition was mounted automatically at boot.
Step 1:
Open Terminal (Applications > Accessories > Terminal)
Step 2:
Copy the command below, then paste it into Terminal and press Enter.
gksu gedit /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
Step 3:
Furthermore, the text editor window opens. In the 4th line (in the [Mounting, checking, etc. of internal drives]), change
ResultActive=yes
becomes:
ResultActive=auth_admin_keep
Step 4:
Save file.
If you want menormalkannya back (to disable password request when the mount partitions) then:
sudo mv /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla.bak