Learn about Centmin Mod LEMP Stack today
Become a Member

Sysadmin ftp command not found?

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

  1. Afaq

    Afaq Member

    61
    1
    8
    Aug 5, 2015
    Ratings:
    +2
    Local Time:
    3:08 AM
  2. eva2000

    eva2000 Administrator Staff Member

    30,631
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,308
    Local Time:
    8:08 AM
    Nginx 1.13.x
    MariaDB 5.5
  3. Afaq

    Afaq Member

    61
    1
    8
    Aug 5, 2015
    Ratings:
    +2
    Local Time:
    3:08 AM
    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

    30,631
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,308
    Local Time:
    8:08 AM
    Nginx 1.13.x
    MariaDB 5.5
    You can list all files within a yum package via rpm -ql command i.e.
    Code (Text):
    rpm -ql ftp
     
    • Informative Informative x 1
  5. Sunka

    Sunka Active Member

    926
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +389
    Local Time:
    11:08 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    Any command to do same, but with something not installed with yum?
     
  6. Afaq

    Afaq Member

    61
    1
    8
    Aug 5, 2015
    Ratings:
    +2
    Local Time:
    3:08 AM
    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 Active Member

    926
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +389
    Local Time:
    11:08 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    There should be /etc/vsftpd.conf
    If there is not, just create and after configuration restart ftp
     
  8. Afaq

    Afaq Member

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

    Sunka Active Member

    926
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +389
    Local Time:
    11:08 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    I think yes
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,631
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,308
    Local Time:
    8:08 AM
    Nginx 1.13.x
    MariaDB 5.5
    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
     
    • Winner Winner x 1