how to uninstall proftpd in directadmin 1.50.1

youyoums

Verified User
Joined
Jul 21, 2011
Messages
37
how to uninstall proftpd in directadmin 1.50.1?
I use the command:
Code:
[HTML]cd /usr/local/directadmin/custombuild
./build update
./build set proftpd no[/HTML]
it response that proftpd is not a valid option.
 
Try this:
Edit /usr/local/directadmin/conf/directadmin.conf and be sure pureftp=1 is stated in there and restart directadmin.

Stop proftpd from running:
service proftpd stop

On Centos you can also do:
chkconfig proftpd off

Then:
Code:
cd /usr/local/directadmin/custombuild
./build set ftpd pureftpd
./build update
./build pureftpd
That should do the trick.

Do not remove proftpd files manually as some are still used for DA's functionality.
 
You don't want any ftpd at all? That's odd.
Sorry I don't know how to disable that completely. You can disable it by stopping the service and do a "chkconfig proftpd off" to prevent it from starting after a reboot, but still a big chance that DA itself will start it after restarting DA or the server.

Just out of curiousity, why should you want to disable all ftp services?
 
Hello,

Checking usage:

Code:
# ./build opt_help | grep ftp
proftpd_uploadscan: yes, no. Current value: no. Default value: no.
pureftpd_uploadscan: yes, no. Current value: no. Default value: no.
[B]ftpd:[/B] proftpd, pureftpd, [B]no[/B]. Current value: proftpd. Default value: pureftpd.

Disabling FTP:

Code:
cd /usr/local/directadmin/custombuild
./build set ftpd no
./build update

List removals:

Code:
./build list_removals

follow instructions on the screen, example of output:

Code:
ProFTPd installed, but not enabled in options.conf: './build remove_proftpd'

If you want to remove all the suggested programs above, run: ./build remove_items
 
Back
Top