The most secure it the least permission you can get away with while still allowing the scripts to start/stop.
Normally default (install) permissions (r-xr-xr--) (owner=root) (grp=system) are fine unless you have a special need. make sure /etc/inittab permissions are rw-------
You could change the rc files to have r-x--x---
Are you asking this question for a specific reason or are you just interested?
Mike
"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."
Since they're scripts, r-x--x--- may as well be r-x------.
If you can't read a script, you can't run it, no matter the execute bit.
If you're paranoid about users reading them, I'd go with r-xr-x---. Otherwise, going with the default r-xr-xr-- is plenty secure, and there may be other processes that expect it.
Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.