Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 13:13:09 +0100
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: help a poor refuge from SCO UNIX (SysV)
Message-ID:  <20020820121308.GA62407@catflap.home.slightlystrange.org>
In-Reply-To: <3D61EF7C.27429.9BC4F7B@localhost>
References:  <3D61EF7C.27429.9BC4F7B@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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