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

10 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. It is in reality a nice and helpful piece of information.
    I'm satisfied that you simply shared this helpful information with us.

    Please keep us up to date like this. Thank you for sharing.

    ReplyDelete
  4. Howdy would you mind stating which blog platform you're using?
    I'm planning to start my own blog soon but I'm having a
    hard time deciding between BlogEngine/Wordpress/B2evolution and Drupal.

    The reason I ask is because your design seems different then most blogs and I'm looking for something unique.
    P.S Sorry for getting off-topic but I had to ask!

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

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

    Regards

    ReplyDelete
  7. I think this is one of the most significant information for me.
    And i am glad reading your article. But should remark on few general things, The web
    site style is ideal, the articles is really great : D. Good job,
    cheers

    ReplyDelete
  8. 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
  9. Thanks for your personal marvelous posting!
    I genuinely enjoyed reading it, you can be a great
    author. I will be sure to bookmark your blog and may come back from now
    on. I want to encourage you to definitely continue your great job, have a nice day!

    ReplyDelete
  10. Hi there, the whole thing is going sound here and ofcourse every one is sharing information, that's
    actually good, keep up writing.

    ReplyDelete