1840498 Members
4174 Online
110165 Solutions
New Discussion

ftpd deletion

 
Daniel Aguirre
Occasional Advisor

ftpd deletion

Hi there Im on a HP-UX 10.20 box, and while making some test with a program that replaces the legacy ftpd daemon i deleted by mistake the original ftpd, How can I get it? and what do I have to do to haver ftp server again?

Thanks in advance!!!
kuinezco
6 REPLIES 6
Sridhar Bhaskarla
Honored Contributor

Re: ftpd deletion

What did you mean you deleted original ftpd server?. If you just deleted the entry, you can add it back.
Following is the default entry

ftp stream tcp nowait root /usr/lbin/ftpd ftpd -l

Try to remember if you have customized the entry.

Make sure you have the binary 'ftpd' under /usr/lbin. Compare it with another server that is untouched. You can copy it from there with the permissions to restore back your old ftpd.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Ken Hubnik_2
Honored Contributor

Re: ftpd deletion

If you copy from another server make sure you copy from a server running 10.20.
Paula J Frazer-Campbell
Honored Contributor

Re: ftpd deletion

Hi

It is in the install cds, also install is patch ftpd :-

http://www4.itrc.hp.com/service/patch/patchDetail.do?patchid=PHNE_23948&context=hpux:800:10:20


Paula
If you can spell SysAdmin then you is one - anon
Helen French
Honored Contributor

Re: ftpd deletion

If you meant, killed the ftp process, then you can restart it with "inetd" daemon:

# inetd -c

If you just deleted the file /usr/lbin/ftpd, restore it back from your backup or copy it from another system (same OS version)
Life is a promise, fulfill it!
Pete Randall
Outstanding Contributor

Re: ftpd deletion

If you mean that you deleted /usr/lbin/ftpd, then you need to restore it from backup or find another 10.20 server that you can copy it from.


Pete



Pete
Daniel Aguirre
Occasional Advisor

Re: ftpd deletion

Well i mean i deleted the deamon, the file ftpd under /usr/lbin.....
kuinezco