Visualizzazione dei risultati da 1 a 5 su 5

Discussione: Installazione Pro-Ftpd

  1. #1

    Installazione Pro-Ftpd

    Ciao, ho instalalto proftpd ma tutte le volte che provo a connettermici mi da Connection Refused:

    Questo è il file di configurazione di proftpd /usr/local/etc/proftpd.conf:


    # This is a basic ProFTPD configuration file (rename it to
    # 'proftpd.conf' for actual use. It establishes a single server
    # and a single anonymous login. It assumes that you have a user/group
    # "nobody" and "ftp" for normal operation and anon.

    ServerName "ProFTPD Default Installation"
    ServerType xinetd
    DefaultServer on

    # Port 21 is the standard FTP port.
    Port 21

    # Umask 022 is a good standard umask to prevent new dirs and files
    # from being group and world writable.
    Umask 022

    # To prevent DoS attacks, set the maximum number of child processes
    # to 30. If you need to allow more than 30 concurrent connections
    # at once, simply increase this value. Note that this ONLY works
    # in standalone mode, in inetd mode you should use an inetd server
    # that allows you to limit maximum number of processes per service
    # (such as xinetd).
    MaxInstances 30

    # Set the user and group under which the server will run.
    User root
    Group root

    # To cause every FTP user to be "jailed" (chrooted) into their home
    # directory, uncomment this line.
    #DefaultRoot ~

    # Normally, we want files to be overwriteable.
    <Directory />
    AllowOverwrite on
    </Directory>

    # A basic anonymous configuration, no upload directories. If you do not
    # want anonymous users, simply delete this entire <Anonymous> section.
    <Anonymous ~ftp>
    User ftp
    Group ftp

    # We want clients to be able to login with "anonymous" as well as "ftp"
    UserAlias anonymous ftp

    # Limit the maximum number of anonymous logins
    MaxClients 10

    # We want 'welcome.msg' displayed at login, and '.message' displayed
    # in each newly chdired directory.
    DisplayLogin welcome.msg
    DisplayFirstChdir .message

    # Limit WRITE everywhere in the anonymous chroot
    <Limit WRITE>
    DenyAll
    </Limit>
    </Anonymous>

    Questo è quello di xinetd.conf:

    #
    # xinetd.conf
    #
    # Copyright (c) 1998-2001 SuSE GmbH Nuernberg, Germany.
    # Copyright (c) 2002 SuSE Linux AG, Nuernberg, Germany.
    #

    defaults
    {
    log_type = FILE /var/log/xinetd.log
    log_on_success = HOST EXIT DURATION
    log_on_failure = HOST ATTEMPT
    # only_from = localhost
    instances = 30
    cps = 50 10

    #
    # The specification of an interface is interesting, if we are on a firewall.
    # For example, if you only want to provide services from an internal
    # network interface, you may specify your internal interfaces IP-Address.
    #
    # interface = 127.0.0.1

    }

    service proftp
    {
    socket_type = stream
    wait = no
    user = root
    protocol = ftp
    server = /usr/local/sbin/in.proftpd
    disable = no
    }
    includedir /etc/xinetd.d


    Ed ho restartato anche xinetd, qualcuno sa aiutarmi?


  2. #2
    Utente di HTML.it
    Registrato dal
    Oct 2002
    Messaggi
    2,894
    Posta:

    # nmap localhost

  3. #3
    Purtroppo nmap non mi funziona perchè c'è umn bug proprio sul kernel che usa la suse 9.0

    Cmq sono appena riuscito a risolvere il problema, ma adesso ne ho un'altro.
    Siccome ho visto che per dare accessi ftp ad un utente devo per forza aggiungere un account con useradd e che quindi oltre all'accesso ftp avrebbe anche accesso alla macchina ed altre cose...
    Io volevo creare alcuni user tipo:

    Federico, Fede, Andrea, Marco... che tutti avessero acceso magari alla dir /var/uploader
    Però vorrei anche che questi user per entrare dovessero immettere una password (diversa tra user e user)...

    Qualcuno sa dirmi come potrei fare?

    Ciao

  4. #4
    Sicuro non debba stare standalone?

    Τί ουν ποιήσε ϕιλοσοϕίας πέρι; πή τρέψή άγνοουμένων τούτων;

  5. #5
    Utente di HTML.it
    Registrato dal
    Oct 2002
    Messaggi
    2,894
    Originariamente inviato da SkOrPiOn`87
    Purtroppo nmap non mi funziona perchè c'è umn bug proprio sul kernel che usa la suse 9.0

    Cmq sono appena riuscito a risolvere il problema, ma adesso ne ho un'altro.
    Siccome ho visto che per dare accessi ftp ad un utente devo per forza aggiungere un account con useradd e che quindi oltre all'accesso ftp avrebbe anche accesso alla macchina ed altre cose...
    Io volevo creare alcuni user tipo:

    Federico, Fede, Andrea, Marco... che tutti avessero acceso magari alla dir /var/uploader
    Però vorrei anche che questi user per entrare dovessero immettere una password (diversa tra user e user)...

    Qualcuno sa dirmi come potrei fare?

    Ciao
    Quella degli utenti non l'ho capita... :master:

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.