Hello,
I am using Linux Mint 13 Xfce
User login auto. So user don't know password.
Firstly I want to remove other partition on the left side of file manager (Thunar ) Because user can open other partition and can delete file.
Secondly I want to change permission for mounting. So clearly, user should not mount other partition without password.
Thanks
[SOLVED] disable other partition and mount permission
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] disable other partition and mount permission
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: disable other partition and mount permission
You can make the partitions not show up in thunar by putting a line for that partition in your /etc/fstab.
Example:
("noauto" = don't mount at boot' "nouser" = need to be root).
For the ntfs partition, you're done cuz you need to be root to mount it.
https://wiki.debian.org/fstab
Example:
Code: Select all
LABEL=LBAK /mnt/LBAK ext4 noauto,nouser 0 0
LABEL=NTFS /mnt/NTFS ntfs noauto,windows_names 0 0
For the ntfs partition, you're done cuz you need to be root to mount it.
https://wiki.debian.org/fstab
Code: Select all
user - permit any user to mount the filesystem (implies noexec,nosuid,nodev unless overridden).
nouser - only allow root to mount the filesystem (default).
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
Your data and OS are backed up....right?
Re: disable other partition and mount permission
Thank you ver much fo your helping.
It is OK
It is OK
Flemur wrote:You can make the partitions not show up in thunar by putting a line for that partition in your /etc/fstab.
Example:("noauto" = don't mount at boot' "nouser" = need to be root).Code: Select all
LABEL=LBAK /mnt/LBAK ext4 noauto,nouser 0 0 LABEL=NTFS /mnt/NTFS ntfs noauto,windows_names 0 0
For the ntfs partition, you're done cuz you need to be root to mount it.
https://wiki.debian.org/fstabCode: Select all
user - permit any user to mount the filesystem (implies noexec,nosuid,nodev unless overridden). nouser - only allow root to mount the filesystem (default).