Faire un ftp complet avec vsFTPd 2.0.5

Résolu/Fermé
densetsu Messages postés 40 Date d'inscription lundi 25 février 2008 Statut Membre Dernière intervention 15 mai 2009 - 2 janv. 2009 à 05:39
lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 - 2 janv. 2009 à 09:08
Bonjour,

comme le dit dit le message je voudrait faire un ftp complet . C'est à dire avec des comptes.
Par exemple:

host: 127.0.0.0
login: latêteà
pass: toto

et quand la personne qui a le login "latêteà" se connect au ftp il tombera dans le dossier choisi, par exemple:
/home/admin/latêteà/

J'ai un serveur dédier, sous ubuntu avec vsFTPd 2.0.5 et apache installer, vu que c'est un serveur dédier je me connect en tant que admin et non en tant que root (enfin le grade le plus élever).

Voila j'espère avoir été assez précis (quoi que pas trop sa reste vague à mon avis).

Help me,

Cordialement.
A voir également:

1 réponse

lami20j Messages postés 21331 Date d'inscription jeudi 4 novembre 2004 Statut Modérateur, Contributeur sécurité Dernière intervention 30 octobre 2019 3 567
2 janv. 2009 à 09:08
Salut,

Regarde man vsftpd.conf

       chroot_list_enable
              If  activated, you may provide a list of local users who are placed in a chroot() jail in their home directory upon login. The meaning is slightly different if chroot_local_user
              is set to YES. In this case, the list  becomes  a  list  of  users  which  are  NOT  to  be  placed  in  a  chroot()  jail.   By  default,  the  file  containing  this  list  is
              /etc/vsftpd.chroot_list, but you may override this with the chroot_list_file setting.

              Default: NO

       chroot_local_user
              If set to YES, local users will be (by default) placed in a chroot() jail in their home directory after login.  Warning: This option has security implications, especially if the
              users have upload permission, or shell access. Only enable if you know what you are doing.  Note that these security implications are not vsftpd specific. They apply to all  FTP
              daemons which offer to put local users in chroot() jails.

              Default: NO
       chroot_list_file
              The option is the name of a file containing a list of local users which will be placed in a chroot() jail in their home directory. This option is only  relevant  if  the  option
              chroot_list_enable is enabled. If the option chroot_local_user is enabled, then the list file becomes a list of users to NOT place in a chroot() jail.

              Default: /etc/vsftpd.chroot_list

1