remove vsftpd help

Hello all, Linux newbie here....man been  while since I called myself that....


Anyways I need some help removing vsftpd.  I want to install pure-ftpd cause I want the use of a GUI interface.  If you can offer something other then pure go nuts.  

The problem I am having is that I have been searching the net for 2 days but can find any solutions to my problems.  I try enter rpm -e vsftpd but it says that the package is not install but if I type vsftpd -v it says vsftpd 2.0.1..... see my problem.

So I am sure the problem might be easy so please help.

Thanks

LAter

IC
LVL 2
InnerChildAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
blklineConnect With a Mentor Commented:
I'm beginning to believe that it wasn't installed via rpm.  In that case you will need to delete all of the vsftp files by hand.  

Look for:

/etc/logrotate.d/vsftpd.log
/etc/pam.d/vsftpd
/etc/rc.d/init.d/vsftpd
/etc/vsftpd
/etc/fsftpd.ftpusers
/etc/vsftpd.user_list
/usr/sbin/vsftpd
/usr/share/doc/vsftp*
/var/ftp/

and delete them by hand.

0
 
blklineCommented:
You are probably using the wrong name.  Try:

rpm -qa | grep vsftp

and use that package name.  I'm assuming that it's vsftp.  As an alternative:

rpm -qf $(which vsftpd)

will tell you which package owns that program.
0
 
InnerChildAuthor Commented:
I tried both commands just to try them using both vsftp and vsftpd but it returned nothing.  I am wondering if I may need to reinstall it if I was try to delete files to remove it?  I know bone head thing to do but I was getting desperate.

LAter

IC
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
jlevieCommented:
If bkline's suggestion of checking with 'rpm -qa | grep vsftp'  didn't return anything either vsftpd wasn't installed via rpm or your rpm database is hosed.

What Linux is this?
0
 
InnerChildAuthor Commented:
Its CenotOS

Its a good way for me to give linux a run :D  OK more of the story then is CentOS comes with vsftpd and when I go to add/remove packages it is not checked, I tried to upgrade it to the latest version that is the 2.0.1 from 1.2.1-3.i386 (what it says from add/remove)

Any way to fix the db?

LAter

IC

0
 
InnerChildAuthor Commented:
CentOS-3.3
0
 
InnerChildAuthor Commented:
I have done all taht but if I still type vsftpd -v I get vsftpd: version 2.0.1

Side question unlike windows if I delete all the vsftpd files there isn't anything sneaky installed is there?

LAter

IC
0
 
InnerChildAuthor Commented:
xinetd is linked to the vsftpd program.  Would this be something I have to delete by hand as well, if so will it stop me from installing pureftpd or cause problems that you know of?

LAter

IC
0
 
blklineCommented:
which vsftpd

That will tell you the binary -- delete that.  Also, delete the entry from xinetd and killall -SIGHUP xinetd to reload.

0
 
InnerChildAuthor Commented:
hwo do I delete the entry for xinetd? Other then that it seems to be working.

Thanks

IC
0
 
InnerChildAuthor Commented:
nm I found it.

Thanks  any way to test if it is gone now?

IC
0
 
jlevieCommented:
As root try 'type vsftpd'. If the daemon executable is still on the system it will tell you where it is  located.
0
 
pbhjCommented:
A useful utility is "locate" also called "slocate", which is installed on most systems.

In your situation I would have done "slocate ftpd | grep bin". That will find all filename entries in the filesystem that include ftpd in them, the piping through grep would then limit the terms shown to just the binaries (assuming correct installation procedure). You could also do "slocate vsftpd" but you'd need to be sure of the name.

When slocate is first installed you need to do "slocate -U" to build a database of the system. This same command is used to update it. Usually it runs as root. I have it soft-linked to "locate".

HTH someone,

pbhj
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.