Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 1996 17:07:49 -0500
From:      skat@misha.net (Shin Katsumata)
To:        questions@freebsd.org
Subject:   Dumb questions about setting up a web server
Message-ID:  <v01510101adc3b32b2ede@[204.120.206.122]>

next in thread | raw e-mail | index | archive | help
There is probably a FAQ some place that documents this stuff, but since I
cannot find it could someone help me find the FAQ or email me with the
information.

I'm getting ready to connect a FreeBSD based web server to Internet. Right now,
I'm tring to understand what files to clean up and set protections. I want this
system to be publically accessable httpd server, but private ftpd, telnetd and
smtpd server.

I would appreciate any suggestions and answer to following questions.

1) sendmail is in /usr/sbin:  can it be moved to /usr/bin, so I can restrict
the /usr/sbin subdirectory to root/wheel? Also, do I need to move any other
executables out of /usr/sbin if I do restrict the directory or tell me what a
horrible idea this is.

2) which ports can be removed from /etc/services?

3) do other users need "read" access to /dev? I do not expect other user to
mount devices.

4) which files can be deleted from the root directory (I believe these files
were installed by FreeBSD distribution CD)?
        COPYRIGHT
        OK
        .cshrc
        .profile
        games


5) what file protections should be set on the following subdirectories:
        /lkm, /mdec, /obj, /proc, /sbin, /share?

6) do I need to keep /stand subdirectory?

7) what file protection should be set on the following files/directory in /var:
        msgs, preserve, rwho, spool?


===================================
Shin Katsumata
email:  skat@misha.net
www:    http://www.misha.net/~skat/index.html





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v01510101adc3b32b2ede>