[svlug] Writing start-up scripts...

Rafael raffi at linwin.com
Mon Mar 12 16:37:06 PST 2001


On Mon, 12 Mar 2001, Dagmar d'Surreal wrote:

> On Mon, 12 Mar 2001, Marc MERLIN wrote:
> 
> > On Mon, Mar 12, 2001 at 12:48:16PM -0800, Rafael wrote:
> > > what you are doing is start csh and execute bourne shell in it. Make sure
> > > your script is executable (chmod 744 script)
> >                                    ^^^
> > 				   755 :-)
> > 				   
> > (you knew that, but the correction is list members who might not)
> > 
> > Marc
> 
> 700.
> 
> lusers have no need to read your system init scripts.  ;)
> 
> 

So I'm half way between you and Marc. RedHat has 
...............
-rwxr-xr-x    1 root     root         1549 Feb 17  2000 sendmail
-rwxr-xr-x    1 root     root         1712 Feb  5  2000 ypbind
...............

which of course is wrong but I mentioned that in generic statement "RedHat
scripts suck". Their networking part under /etc/sysconfig is a terrible 
mess.

I have no problem with regular users reading rc scripts. They might learn
something. Having them execute them is not advisable. There are other
issues about Unix security that are much more critical than being able to
read rc scripts as a regular user; buffer overflows, ftp, sendmail, SUID,
just a regular stuff,...


   O__  ---- Rafael Skodlar
  c/ /'_ --- Linux Imagineer since 1994
 (*) \(*) -- There is a tunnel at the end of light.





More information about the svlug mailing list