From owner-freebsd-questions@FreeBSD.ORG Thu Nov 17 14:18:59 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C74716A41F for ; Thu, 17 Nov 2005 14:18:59 +0000 (GMT) (envelope-from lists@interpool.ca) Received: from simmts8-srv.bellnexxia.net (simmts8.bellnexxia.net [206.47.199.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF16543D80 for ; Thu, 17 Nov 2005 14:18:50 +0000 (GMT) (envelope-from lists@interpool.ca) Received: from interpool.homeunix.com ([69.156.21.65]) by simmts8-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with SMTP id <20051117141849.ZRHZ28065.simmts8-srv.bellnexxia.net@interpool.homeunix.com>; Thu, 17 Nov 2005 09:18:49 -0500 Date: Thu, 17 Nov 2005 09:19:09 -0500 From: Gerry Freymann To: freebsd-questions@freebsd.org Message-Id: <20051117091909.00812699.lists@interpool.ca> In-Reply-To: <000001c5eb7d$240a47a0$d1c88a45@picklepie> References: <000001c5eb7d$240a47a0$d1c88a45@picklepie> Organization: Interpool Development www.interpool.ca X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; i386-portbld-freebsd4.11) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: [0] Cc: lonnie@outstep.com Subject: Re: starting services? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Nov 2005 14:18:59 -0000 On Thu, 17 Nov 2005 08:45:14 -0500 "Lonnie Cumberland" wrote: >I have just installed the Samba3 via the packages in the >/stand/sysinstall but am not clear on how to start the daemon. I have >had a lot of experience with Linux but have not learned a lot about >FreeBSD yet and am working on it. Welcome to FreeBSD. You didn't mention what version you are using, so I can only speak definitively on v4. If you installed via the ports/packages, it should have dropped a start up script in /usr/local/etc/rc.d (which is where a lot of the start up/shut down scripts go for various programs). You may have something in there called samba.sh.sample. If you copy it or rename it to samba.sh it will automatically start and stop samba for you as needed. If you manually want to do this, you *must* use the full path to the script: /usr/local/etc/rc.d/samba.sh start | stop You should find what you need in /usr/local/etc/rc.d >Also, I have been watching the threads on some hackers breaking into >someone's system through PHP and am wondering about how secure FreeBSD >really is compared to various default installs of Linux. That isn't a problem with FreeBSD, it's a problem with PHP (and/or poor programming). I would feel quite secure with FreeBSD and PHP. The latest exploits involved a few PHP scripts and were quickly patched. There are sections on securing FreeBSD in the handbook, and if you google you'll find a few other sites with suggestions and examples too. Have fun! -Gerry