From owner-freebsd-questions Mon Apr 22 23:35: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from russian-caravan.cloud9.net (russian-caravan.cloud9.net [168.100.1.4]) by hub.freebsd.org (Postfix) with ESMTP id 8E6D937B417 for ; Mon, 22 Apr 2002 23:35:03 -0700 (PDT) Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by russian-caravan.cloud9.net (Postfix) with ESMTP id 3450728C3E; Tue, 23 Apr 2002 02:35:03 -0400 (EDT) Date: Tue, 23 Apr 2002 02:35:03 -0400 (EDT) From: Peter Leftwich X-X-Sender: To: Rafter Man Cc: FreeBSD LIST Subject: Re: [security] Re: Mysterious sshd "starting itself" at bootup In-Reply-To: <20020422094515.7442.qmail@linuxmail.org> Message-ID: <20020423023045.G16227-100000@earl-grey.cloud9.net> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 22 Apr 2002, Rafter Man wrote: > Maybe it is just me, but for security reasons I think that it should only be possible to start services Do you mean for security reasons or for "neatness" on the system? > from 1 file/place at bootup. So that you in /boot have a directory for the system bootup files (all for them) and one for user and other (programs and services) bootup files. This way ALL the boot files and in /boot and services like FTP, SMTP, SSH, HTTP can not be started by system files, but only by user/other files. This sounds interesting. I never liked the idea of a directory being called "/etc" because it sounds like a bunch of leftovers were tossed in there, (etc sounds like misc, or other etc... hehe) > Likewise I think that there should be a /etc/services directory with underdirectories like: /etc/services/ftp and ALL the configuration files for ftp should be there, but maybe I am the only one who likes it when things are sooooo simple. /etc/services is a file, as in a text file. There is a file called /etc/ftpusers which may be what you wish for? > I am VERY pleased to see that FreeBSD 5.0 have put some order in the FreeBSD filesystem, but > I still think there are to many exampels for configuration files not "in place". Meaning > that in order to setup (fx) sendmail, you have to studie which bootfiles it writes to and > where it put all it's own configuration files, things could be a lot easier if all were in > "the right place". > So when you install a service, fx sendmail files go here: > /boot/services/sendmail.sh (if the files is a script then run it) > /etc/service/sendmail/ all sendmails configuration files > /usr/services/sendmail/ all sendmails other files. IBlameSendmail :) It is just too complicated and hairy. > Or is this just plain dumb? > /rafter > Get your free email from www.linuxmail.org > Powered by Outblaze Nothing is dumb when bettering the future of FreeBSD with improvements! -- Peter Leftwich President & Founder Video2Video Services Box 13692, La Jolla, CA, 92039 USA +1-413-403-9555 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message