Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i use a shared centos box and i am trying to figure out how to create hidden mount point to keep my personal files. i am an administrator and i have full access.
earlier i had created 50 gb partition with ext4 file system on it. i used to mount file-system as and when needed and unmount it when i am done. its no problem in boxes with no X, but on boxes with GUI the mount point is clearly visible in "Places" menu eventhough it is not mounted, and since i am supposed to share my root password with fellow admins it is creating unnecessary problems.
is there any way i can do this?
Note: Its ok for me if someone figures it out through terminal, but not through GUI.
Last edited by bangnagr; 03-07-2013 at 11:23 AM.
Reason: corrected mistakes
Do you mean the whole "Places" menu...? If that is what you meant, then i can't, because it contains bookmarks of frequently visited folders/mounts and also you cant access usb drive. not everybody is terminal expert.
unless what you meant is disable my mount point entry from "places" menu... i dont know how to do it. some lights on that will be appreciated.
Just use encrypted partitions, this way even if an administrator figures it out and tries to mount the partition he still needs a passphrase to do so. Security by obscurity never works anyways, so I wouldn't even try to hide the mountpoint.
Just use encrypted partitions, this way even if an administrator figures it out and tries to mount the partition he still needs a passphrase to do so. Security by obscurity never works anyways, so I wouldn't even try to hide the mountpoint.
+1
The other option would be to use encrypted directories with ecryptfs etc
looks promising. i always stayed away from encryption as i have heard that if you lose passphrase or usb with key there is NO WAY you can bring back the data. but i can afford that for my partition.
thanks TobiSGD & amani for ideas.
some confusion on luks-encryption
1. after every "cryptsetup luksClose "and "cryptsetup luksOpen" (umount and mount), a new name for device-mapper should be given. is it normal?
2. is it normal/best practice that encryption should be used on production servers? cause i've not encrypted any of my servers.
i would like to keep this post open for any new ideas pop in. hope its not an issue.
1. Yes, that is normal, luksClose and luksOpen are not really resembling the umount and mount commands, since you still have to do that afterwards, it is more like attaching a new device to the system and you have to choose its device descriptor.
2. Usually encryption is used for systems that can easily be stolen or get lost, like laptops or netbooks. On servers it does not really make sense, since they are usually running 24/7 and have the partitions mounted, so they have different attack vectors there.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.