From owner-freebsd-questions Tue Aug 20 5:13:23 2002 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 E4EBF37B400 for ; Tue, 20 Aug 2002 05:13:19 -0700 (PDT) Received: from catflap.home.slightlystrange.org (host217-39-91-62.in-addr.btopenworld.com [217.39.91.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A42143E4A for ; Tue, 20 Aug 2002 05:13:18 -0700 (PDT) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 17h7sj-000GIe-00 for freebsd-questions@freebsd.org; Tue, 20 Aug 2002 13:13:09 +0100 Date: Tue, 20 Aug 2002 13:13:09 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Subject: Re: help a poor refuge from SCO UNIX (SysV) Message-ID: <20020820121308.GA62407@catflap.home.slightlystrange.org> Reply-To: dan@slightlystrange.org Mail-Followup-To: freebsd-questions@freebsd.org References: <3D61EF7C.27429.9BC4F7B@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D61EF7C.27429.9BC4F7B@localhost> User-Agent: Mutt/1.4i X-Scanner: exiscan *17h7sj-000GIe-00*BEAH3gHy7S6* (SlightlyStrange.org, Using NOD32 http://www.nod32.com) 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 Tue, Aug 20, 2002 at 07:27:56AM -0400, bill wrote: > I think it would be easier to learn freeBSD from scratch rather than fall into all > the holes where the same command does slightly different things on SCO > and freeBSD. Help ! Hehe! I had similar problems converting from Solaris and Linux! > 1) I want to see all processes to be able to grep the pid of the one I want. ps > -a doesn't show process detached from ttys apparently. ps -ef doesn't do it > either. what is the correct arg for ps ? Try `ps aux', or `ps axfr' > 2) how do I ask the system to start ftpd upon startup. I read /etc/rc and > rc.conf and didn't see a place. (I love rc.conf - it, like most of the files are > beautifully commented as are the man pages) . > or, perhaps, to start it on demand, what is the ineted file ? In sco it is > inittab, but freeBSD apparently uses something else. Simply uncomment this line in /etc/inetd.conf: #ftp stream tcp nowait root /usr/libexec/ftpd ftpd -l and make sure you have inetd enabled - default is to enable it, with the flags `-wW' (see /etc/defaults/rc.conf for many more options to set). You will need to restart inetd if you change the config file. Easiest way to do this is: # kill -HUP `cat /var/un/inetd.conf` > in a related question, does freeBSD use TCP_WRAPPERS or something > else. The `-wW' flags activate TCP wrappers. TCP wrappers is integrated into inetd, and you do not need to run tcpd, as under some other systems. > 3) is there a link to a tutorial or listing of differences between SysV and > freeBSD ? I'm afraid I don't know of any, but there must be loads of them out there. HTH, Dan -- Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message