Operating System - HP-UX
1834714 Members
2340 Online
110069 Solutions
New Discussion

File Permission/Dir Permission : Urgent

 
Madanagopalan S
Frequent Advisor

File Permission/Dir Permission : Urgent

I am checking my system for security and I found that
the following dirs have 777. Can anyone confirm
whether is it essential or any changes needed?

/var/spool/sockets dir and sub dirs
/var/spool/calendar
/var/news
/var/rbooted
/var/sam/lock
/var/opt/dce/rpc
/var/opt/dce/security

Pls help me to resolve this probs.
let Start to create peaceful and happy world
4 REPLIES 4
Alex Glennie
Honored Contributor

Re: File Permission/Dir Permission : Urgent

wrt DCE dirs default install :

drwxr-xr-x root bin
Madanagopalan S
Frequent Advisor

Re: File Permission/Dir Permission : Urgent

I am not understand, so can i change 755 for /var/opt/dce?

what about /dev/pty/* , /dev/ptys/*, /dev/ptym/*,
/dev/tty*, /usr/share/man/*

they are all 666 , is it ok?

Pls help me
let Start to create peaceful and happy world
Alex Glennie
Honored Contributor

Re: File Permission/Dir Permission : Urgent

the permissions you gave for the listed dirs are the same on my system. I don't beleive there's much of a security risk for files in /var however the details I gave are correct for a clean install of the O/S and DCE .. ie the permissions can be tightened up.
Darrel Louis
Honored Contributor

Re: File Permission/Dir Permission : Urgent

Hi,

You can look in the /var/adm/sw/products/DCE-Core.
For the specific products the configure scripts, for permissions settings.


Good luck