Is there a way in Lucid to require a sudo password to mount all external drives (e.g. thumb drives, USB CD/DVD drives, USB hard drives)?
Thanks,
allaboutsam
Is there a way in Lucid to require a sudo password to mount all external drives (e.g. thumb drives, USB CD/DVD drives, USB hard drives)?
Thanks,
allaboutsam
You have to overwrite the default policykit settings. Create a .pkla file in /var/lib/polkit-1/localauthority/50-local.d/.
i.e.
/var/lib/polkit-1/localauthority/50-local.d/external.drives.pkla:
Check out:Code:[Mounting, ejecting of external drives] Action=org.freedesktop.udisks.filesystem-mount;org.freedesktop.udisks.drive-eject;org.freedesktop.udisks.drive-detach ResultActive=auth_admin_keep
Code:man pklocalauthority
Bookmarks