Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A FTP server is unneeded - how to disable pure-ftpd? #684

Closed
chriscroome opened this issue Apr 13, 2015 · 3 comments
Closed

A FTP server is unneeded - how to disable pure-ftpd? #684

chriscroome opened this issue Apr 13, 2015 · 3 comments

Comments

@chriscroome
Copy link

I don't need a FTP server, the people using the Drupal sites on the server are happy to use SSH key based authentication, I have tried the suggestion from #173 and commented out this line:

#  if ($COMMAND =~ /pure-ftpd/) {$ftplives = "YES"; $ftpsumar = $li_cnt{$COMMAND};}

in /var/xdrago/proc_num_ctrl.cgi and have tried killall pure-ftpd but it is still running and using CPU resources:

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
23749 root      20   0 28904  448   52 R   100  0.0   0:01.08 pure-ftpd

Any suggestions about how this unneeded services can be stopped and prevented from starting?

@omega8cc
Copy link
Owner

  1. rm -f /usr/local/sbin/pure-config.pl
  2. killall -9 pure-ftpd
  3. remove FTP from _XTRAS_LIST

@chriscroome
Copy link
Author

Thanks, FTP wasn't in /root/.barracuda.cnf:

_XTRAS_LIST="PDS CSF CHV"

Will BOA upgrades cause /usr/local/sbin/pure-config.pl to be recreated?

@omega8cc
Copy link
Owner

No, it will not install FTP server again if you don't have the ALL nor FTP keyword in the _XTRAS_LIST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants