My solution will be simple.
- Open the
/etc/fstab file with root permission.
Add this line and save and close the file.
/dev/sda5 /media/secret ntfs defaults 0 0
Then anytime he wants to mount it, it will ask for password, which only you know. So, safe and easy. You can mount it easily with terminal
sudo mount /dev/sda5
For the other partitions, both user can mount them via nautilus easily. or as you said, You have a setting to mount them automatically. That's it. Only the setting for
/dev/sda5 need to be changed.
It's easy, isn't it?
As a comment from Eliah Kagan suggests that, the non-root users can still mount it. IMHO it is actually no. Even admin users can't mount the partitions without giving explicitly their password in terminal.
I tested this:
I have an ntfs partition which is
/dev/sda3. I created an entry in
/etc/fstab like this one:
/dev/sda3 /media/works ntfs defaults 0 0
The result is, when I tried to execute it via nautilus, this error message is displayed.
When I tried to mount it via terminal with
udisks --mount /dev/sda3 , this error message is displayed
Mount failed: Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sda3 on /media/works
So, It actually prevents non-root users, even the root users. They can only mount it via
mount command and giving the password as below:
sudo mount /dev/sda3