Get the most out of your Centmin Mod LEMP stack
Become a Member

Sysadmin ftp command not found?

Discussion in 'System Administration' started by Afaq, Oct 13, 2017.

  1. Afaq

    Afaq Member

    81
    3
    8
    Aug 5, 2015
    Ratings:
    +5
    Local Time:
    2:00 PM
  2. eva2000

    eva2000 Administrator Staff Member

    58,894
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:00 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
  3. Afaq

    Afaq Member

    81
    3
    8
    Aug 5, 2015
    Ratings:
    +5
    Local Time:
    2:00 PM
    Thanks for the reply. I have installed ftp using the command you gave. Can you tell where will I be able to find its config file?
     
  4. eva2000

    eva2000 Administrator Staff Member

    58,894
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:00 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    You can list all files within a yum package via rpm -ql command i.e.
    Code (Text):
    rpm -ql ftp
     
  5. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    11:00 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    Any command to do same, but with something not installed with yum?
     
  6. Afaq

    Afaq Member

    81
    3
    8
    Aug 5, 2015
    Ratings:
    +5
    Local Time:
    2:00 PM
    I have installed FTP. And ran the command you gave, this is what it returned:
    Code:
    /usr/bin/ftp
    /usr/bin/pftp
    /usr/share/man/man1/ftp.1.gz
    /usr/share/man/man1/pftp.1.gz
    /usr/share/man/man5/netrc.5.gz
    I couldnt find any installation guide for FTP but all the VSFTPD guides recommended changing some configs to disable anonymous logins and some other stuff. But there doesnt seem to be any config files for FTP. Can you recommend if the default install in good enough?
     
  7. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    11:00 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    There should be /etc/vsftpd.conf
    If there is not, just create and after configuration restart ftp
     
  8. Afaq

    Afaq Member

    81
    3
    8
    Aug 5, 2015
    Ratings:
    +5
    Local Time:
    2:00 PM
    I ran yum install ftp, not yum install vsftpd. Not sure if both are same.
     
  9. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    11:00 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    I think yes
     
  10. eva2000

    eva2000 Administrator Staff Member

    58,894
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    7:00 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    no not the same

    ftp = ftp client
    vsftp like pure-ftpd = ftp server

    disabling anonymous logins etc are on ftp server level and pure-ftpd already configured out of box for such so nothing to configure