Search This Blog

Tuesday, August 27, 2013

proftp install at CentOS 5

Fist of all, I don't like proftp!!!

# yum install proftpd

To add Virtual Users:

#vi /etc/proftpd.conf

Disable Anonymous User Login:
common out all #

#
# User ftp
# Group ftp
# UserAlias anonymous ftp
# MaxClients 10
# DisplayLogin welcome.msg
# DisplayChdir .message
#
# DenyAll
#

#




AuthOrder mod_auth_file.c
AuthUserFile /etc/proftpd/ftpd.passwd
AuthGroupFile /path/to/ftpd.group


http://www.proftpd.org/docs/howto/VirtualUsers.html
http://www.proftpd.org/docs/directives/linked/config_ref_AuthOrder.html

Then add Virtual User:


wget http://www.castaglia.org/proftpd/contrib/ftpasswd /root/ftpasswd
/root/ftpasswd --name=mds --uid=500 --gid=503 --passwd --home=/home/mds/storage --file=/etc/proftpd/ftpd.passwd --shell=/sbin/nologin
/root/ftpasswd --name=mds --group --gid=503 --file=/etc/proftpd/ftpd.group


Start the service:
# service proftpd stop
# chkconfig proftpd on

5 comments:

  1. What's the best way to copyright a website and all its contents? Copyright poetry?

    ReplyDelete
  2. Sorry you can not do that on most of the website. It is illegal.

    ReplyDelete
  3. Hi there, I running the latest WordPress. It works great!

    ReplyDelete
  4. Thanks for sharing your thoughts about online betting predictions.

    Regards

    ReplyDelete
  5. Hello, Neat post. There's an issue together with your site
    in web explorer, could check this? IE nonetheless is the marketplace leader and a
    large element of other folks will miss your magnificent writing due to this problem.

    ReplyDelete