|
-
January 14th, 2003, 12:17 AM
#1
Member
Trying to Secure a linux box
Hi,
I want to set-up a webserver on my linux 7.3 box. Soo i have doing some secruity checks running things like nessus and saint.And then i read somewhere to see if i have "world writable directories" by running this command
find / -perm -2 -type -d print <------- Good idea or is there a better way?
And here is the output:
/dev/shm
/var/lib/texfm
/var/spool/vbox
/var/tmp
/tmp
/tmp/.font-unix
/tmp.ICE-unix
/tmp/.X11-unix
Can someone explain what this means and how can i make thses more secure and not writable? Would i just run
chmod u=rwx "each directory" or do some of these files need different permissions?
Here is another command:
find / -type f\(-perm -04000 -a -user root\)-print
Im just a newbie to the linux world and still learning soo r these commands a good idea to run or ... I am running iptables my firewall too.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|