(unknown)

Pete Scott <[email protected]>
Newsgroups gmane.linux.tomsrtbt
Message-ID <20020614141752.BGOT15606.fep08-svc.ttyl.com@localhost>
Hi

Thanks for the help with ftpd.

I've got an ftpd from mulinux that I've got to work now. The problem was that when I ran it by say:

# ./ftpd

it quits straight away. So I ran it with nc like this:

nc -l -p 21 -e ./ftpd

And once I'd added an ftp user to /etc/passwd it worked fine. But obviously for only one connection.

So I wanted to put the following line into /etc/inittab so it would respawn:

c9:5:respawn:/bin/nc -l -p 21 -e /bin/ftpd

Then I do:

# kill -HUP 1 

To get init to re-read /etc/inittab

All this works fine though it would be less hassle with a binary that could run stand alone.

But what I noticed is that if I comment out a line such as the ftpd one in /etc/inittab then did:

# kill -HUP 1

Then ftpd/nc deamon would still be running/respawned. Even if I kill the nc process it would get respawned by inittab.

Is this usual or a oddity of busybox (?) init?

Pete
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.