View previous topic :: View next topic |
Author |
Message |
re- n00b
Joined: 08 Mar 2005 Posts: 34
|
Posted: Thu Mar 17, 2005 1:34 am Post subject: partitions |
|
|
Hi,
I have /, /boot, /tmp, /opt, /home, /var, /usr partitions
For /tmp i gave the noexec,nosuid,nodev options.
can I give the no* options to other partitions as well ?
Or,maybe,someone can tell me what chmod are the most secure/optional for the above partitons? |
|
Back to top |
|
|
smasher Tux's lil' helper
Joined: 15 Nov 2003 Posts: 95
|
Posted: Thu Mar 17, 2005 2:59 am Post subject: |
|
|
Quote: | I have /, /boot, /tmp, /opt, /home, /var, /usr partitions
For /tmp i gave the noexec,nosuid,nodev options.
can I give the no* options to other partitions as well ? |
I've never tried this kind of setup but here's what I would try:
+ = USE
- = DON'T USE
/ -nodev -noexec -nosuid
/boot +noexec +nosuid +nodev
/opt +nodev -noexec -nosuid
/home +nodev -noexec -nosuid
/usr +nodev -noexec -nosuid
/var +nodev -noexec -nosuid |
|
Back to top |
|
|
re- n00b
Joined: 08 Mar 2005 Posts: 34
|
Posted: Tue Mar 22, 2005 11:25 am Post subject: |
|
|
How about setting read-only partitions such as /opt ?
Or maybe let me put it another way - what files are "rewrited" during the normal user activities? |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|