vendredi 28 décembre 2012

add user to proftpd + can't connect

if i try to connect with a system acount i get this error in log file


Dec 28 17:18:42 tera proftpd[28837] localhost (192.168.14.73[192.168.14.73]): USER test: no such user found from

but if i add a user line in /etc/proftp/auth/passwd

i get

wrrong password even it true


:o

in config i have

# ------------------------------
  # Authentication
  # ------------------------------

        ### PAM Authentication
        # AuthPAM: default: on # modified
        AuthPAM                 off

        # changed AuthPAMConfig file
        AuthPAMConfig           proftpd
        ### PAM Authentication

        AuthUserFile            /etc/proftpd/auth/passwd
        AuthGroupFile           /etc/group

        ### order of auth modules
        #AuthOrder              mod_auth_unix.c mod_auth_file.c
        AuthOrder               mod_auth_file.c

the solution is to active mod_auth_unix.c
so in authOrder add this mod

to become :
AuthOrder              mod_auth_unix.c mod_auth_file.c

Aucun commentaire:

Enregistrer un commentaire

Nombre total de pages vues