Operating System - HP-UX
1829737 Members
1595 Online
109992 Solutions
New Discussion

trusted systems default permissions

 
Network Servers
Advisor

trusted systems default permissions

I have a trusted system. I am sure that part of trusted system setup causes all files create to be umask 077 or 700 permissions or 644 in the case of text files.

This seems to have stopped working on our systems.

Can anyone tell me when a system is first trusted how this default permission is accomplished (via a config file, etc.) so I can go check if this has been modified?

Thanks.
Don't fly off the handle when you are full of baloney...
2 REPLIES 2
Stefan Farrelly
Honored Contributor

Re: trusted systems default permissions

All our trusted servers have a default umask of 077. If you touch a new file permissions are 600. This is consistent on all our servers.

I cant find anywhere this is set - it seems to be the default from posix shell (sh-posix). Only if its modified in /etc/profile or $HOME/.profile.

Im not sure what else could change this default behaviour - a patch maybe ?
Im from Palmerston North, New Zealand, but somehow ended up in London...
Kent Ostby
Honored Contributor

Re: trusted systems default permissions

Check your system wide files in /etc/ specifically /etc/profile and any shell specific, system wide files (for instance csh.login if you have people using csh).

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"