Recreate all FTP users from scratches

goldeneyez

Verified User
Joined
Jun 26, 2008
Messages
5
I have encountered an issue which user can't login into FTP.
The FTP server application is ProFTPd

# rpm -qa | grep ftp
proftpd-standalone-1.2.10-1
proftpd-1.2.10-1

The issue is:
when I log into the server through FTP with username ADMIN then I can see all the directories , this means that I can go even to the root directory (/)

The problem started to arise aftar I tried to uninstall ProFTPd and then installing the ProFTPd from source ( exactly as written in the following url : http://help.directadmin.com/item.php?id=82 )

I tried to untinstall proFTPd by running the following commands:

# rpm -e proftpd-standalone-1.2.10-1
# rpm -e proftpd-1.2.10-1

and then I used http://help.directadmin.com/item.php?id=82

The installation from source finished but ProFTPd hasn't started.
( I tried to run ProFTPd by executing the following command:
/etc/rc.d/init.d/proftpd restart)

So , because the installation didn't succeed then I decided to install ProFTPd by using the following commands:

# cd /usr/local/directadmin/scripts
# ./proftpd.sh
# service proftpd restart
# groupadd nogroup

and from that point the issue arise.
user can't login into FTP.
but when I try to log into the server through FTP with username admin then I can see all the directories , this means that I can go even to the root directory (/)

thanking in advanced everyone who assist
 
I figured out what is the reason for the problem. The config files are not good.
So I want first to uninstall the ProFTPd which was installed from source.
now only the files which related for ProFTPd source installation exist.
any files which related to RPM has removed by rpm -e rpmpackagename

The question is:
I would like to know how to remove ProFTPd completely from the server ?

The installation files exist inside:
/root/proftpd-1.3.1/

I know that I can run:
# rm -rf /root/proftpd-1.3.1

but the question is about removing any tracks which the "make" and "make install" left on the server.

The commands which I run are:

1)
install_user=ftp install_group=ftp ./configure --prefix=/usr/local --sysconfdir=/etc --localstatedir=/var/run --mandir=/usr/local/man --without-pam --disable-auth-pam --with-modules=mod_ratio:mod_readme LDFLAGS=-static

2)
install_user=ftp install_group=ftp ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/run --mandir=/usr/local/man --without-pam --disable-auth-pam --with-modules=mod_ratio:mod_readme LDFLAGS=-static

3)
make

4)
make install

by the way, The guide line which written inside:
http://help.directadmin.com/item.php?id=82

are totaly not straightforward. because according to the command I need to use --prefix=/usr/localbut after some rows it's written to use --prefix=/usr for Linux. so in such case the DA support need to create straightforward guide. one for linux and one for unix (freebsd). it's totaly confuse and not straightforward.
 
I would like to know how to remove proftpd from boot sequence ?

The OS is : Centos 32 bit

2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:21:39 CDT 2006 i686 i686 i386 GNU/Linux
 
I understand that what is written:
"We typically respond to e-mail inquiries within 45 minutes during normal business hours"

is totaly not true.
I have sent email to [email protected] 24 hours ago and until now ZERO response from support.

the emails were sent from different service providers , so support can't say that they didn't receive the email.
 
Back
Top