Pick a Free OS

GNU Linux Security


Finding group and world writable files

find / -type f \( -perm -2 -o -perm -20 \) -exec ls -lg {} \;

For finding directories use the command below

find / -type d \( -perm -2 -o -perm -20 \) -exec ls -ldg {} \;

To find the unowned files

find / -nouser -o nogroup

This covers the basic GNU/linux settings for systems which will make the

system secure,you also have to consider the application which your

server is supposed to server like for e.g running a webserver or an

ftp server then there are various other steps which you need to cover

for securing the applications.