Linux / UNIX Tech Support Forum
This is a discussion on mounting within an already mounted partition within the Linux software forums, part of the Linux Getting Started category; I've been reading up on mount, ever since on my security reading binge, that mounting the /tmp in fstab to ...
|
Register free or login to your existing account and remove all advertisements. |
|
|||||||
| Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I've been reading up on mount, ever since on my security reading binge, that mounting the /tmp in fstab to have the noexec option eliminates many of the security risks from the nature of /tmp being so open.
Reading through the man pages, I haven't been able to figure out if there are any potential problems with mounting that directory to another directory with the noexec option would have any potentially harmful side effects. How harmful can is this for /tmp? |
| Sponsored Links | ||
|
|
|
||||
|
Quote:
Modern kernel does allows to mount same partition under 2 dirs. I've not tried it but results should be unexpected. Also keeping mind that only root can mount /tmp to other location
__________________
Vivek Gite Linux Evangelist |
|
|||
|
Thanks, I'll try it on an old box and run some heavier applications, like Octave, some databases when running a dump, and anything else I find that writes to files in /tmp a lot. Maybe even something simple, like taring a very large file over SSH, or SCP.
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to verify the options used when mounting a nfs FS. | warren | Solaris/OpenSolaris | 5 | 04-30-2009 06:56 PM |
| windows partition mounting problem in linux as4.o | ramjimh | Linux software | 9 | 12-24-2008 01:38 PM |
| Mounting cdrom in cent os 5 linux | jerry | Getting started tutorials | 3 | 03-24-2008 05:48 PM |
| mounting an NFS filesystem with iptables | natashak | Networking, Firewalls and Security | 2 | 11-30-2007 12:26 AM |
| Mounting servers in Linux | rav | Linux software | 1 | 05-03-2007 12:57 AM |