1826909 Members
3000 Online
109705 Solutions
New Discussion

ftpd

 
Kenn Chen
Advisor

ftpd

how could i activate ftp daemon process in UNIX ?
Cyber Zen
5 REPLIES 5
Patrick Preuss
Trusted Contributor

Re: ftpd

hi,
the ftp server ist usualy startet by inetd
take a look in the file /etc/inetd.conf (should be a line like "ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd") or in the sam gui.

best regards
patrick
Goodbye Douglas! Whereever you are now, keep your towel and don't panic.
Kenn Chen
Advisor

Re: ftpd

in /etc/inetd.conf file contents the ftp and sftp ....but i cannot find the ps -ef|grep ftp in UNIX.
Cyber Zen
Luc Bussieres
Frequent Advisor

Re: ftpd

Hi,

If your ftp is configured correctly in /etc/inetd you will not see the daemon on the system until somebody try to fto in the system, at that moment only the driver will be started.

Try to connect to your system with ftp, if it's not working then you have a problem with your configuration, if it's working, then you will be able to see the ftp daemon with ps -ef, until the connection is terminated and the daemon will time out and close itself.

Luc
La réponse est le malheur de la question
Ron Kinner
Honored Contributor

Re: ftpd

To check if ftpd is running you can just do:
netstat -a |grep ftp

you should see that ftp is listening.


As ftpd is a subprocess of inetd you can only see inetd running when you do a ps unless there is an active ftp session in progress.

As the others have mentioned /etc/inetd.conf is the controlling force here tho there are also a few permission things you may need to do depending upon your requirements and your OS. You will probably need a /home/ftp directory and maybe an ftp user. inetd -c will reread your inetd.conf without having to reboot.

Ron
support_5
Super Advisor

Re: ftpd

Seriously, it's dead easy to turn on ftp using SAM. It's the easiest way to explain it. Load up SAM and turn ftp on (under networking services)

Cheers,

- Andy Gray