Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
partitions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
re-
n00b
n00b


Joined: 08 Mar 2005
Posts: 34

PostPosted: Thu Mar 17, 2005 1:34 am    Post subject: partitions Reply with quote

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
View user's profile Send private message
smasher
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2003
Posts: 95

PostPosted: Thu Mar 17, 2005 2:59 am    Post subject: Reply with quote

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
View user's profile Send private message
re-
n00b
n00b


Joined: 08 Mar 2005
Posts: 34

PostPosted: Tue Mar 22, 2005 11:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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