Operating System - HP-UX
1753848 Members
8125 Online
108807 Solutions
New Discussion юеВ

Re: Systems files should not be world writable in UNIX.

 
DharmaRao G
Advisor

Systems files should not be world writable in UNIX.

What are the systems files should not be world writable in UNIX enviorment for security reason?
4 REPLIES 4
George_Dodds
Honored Contributor

Re: Systems files should not be world writable in UNIX.

Try the following to list them.

find / -perm -o+w
Jozef_Novak
Respected Contributor

Re: Systems files should not be world writable in UNIX.

Yepp,exactly as you say, it is for security reasons. The rationale behind is to prevent malicious code being inserted into executable files.

J.
Bill Hassell
Honored Contributor

Re: Systems files should not be world writable in UNIX.

There aren't any system (HP-UX) files that should be world-writable. In fact, there should be no world-writable directories except /var/tmp and /tmp. But this bit is only one of several that should be checked, and for HP-UX, the command: swverify will handle this task. It will point out files and directories that do not have correct permissions as well as ownerships.


Bill Hassell, sysadmin
avizen9
Esteemed Contributor

Re: Systems files should not be world writable in UNIX.

Hello dharma
there are various opinion for this,
here is one opinion for your question, check this thread also.

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1242392242286+28353475&threadId=1337699