fr.positon.org Open in urlscan Pro
5.196.70.86  Public Scan

URL: http://fr.positon.org/proftpd-avec-fichier-de-mots-de-passe-authuserfile
Submission: On February 20 via manual from FR — Scanned from FR

Form analysis 4 forms found in the DOM

GET http://fr.positon.org

<form method="get" id="headersearch" action="http://fr.positon.org">
  <label class="hidden" for="hs">Rechercher:</label>
  <div>
    <input type="text" value="" name="s" id="hs"><input type="submit" id="hsearchsubmit" value="Rechercher">
  </div>
</form>

GET http://fr.positon.org

<form method="get" id="mobilesearch" action="http://fr.positon.org">
  <label class="hidden" for="s">Rechercher:</label>
  <div>
    <input type="text" value="" name="s" id="s"><input type="submit" id="searchsubmit" value="Rechercher">
  </div>
</form>

POST http://positon.org/wp-comments-post.php

<form action="http://positon.org/wp-comments-post.php" method="post" id="commentform" class="comment-form">
  <p class="comment-notes">Your email address will not be published. Required fields are marked <span class="required">*</span></p>
  <p class="comment-form-author"><label for="author">Name <span class="required">*</span></label> <input id="author" name="author" type="text" value="" size="30" aria-required="true"></p>
  <p class="comment-form-email"><label for="email">Email <span class="required">*</span></label> <input id="email" name="email" type="text" value="" size="30" aria-required="true"></p>
  <p class="comment-form-url"><label for="url">Website</label> <input id="url" name="url" type="text" value="" size="30"></p>
  <p class="comment-form-comment"><label for="comment">Comment</label> <textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>
  <p class="form-allowed-tags">You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <code>&lt;a href="" title=""&gt; &lt;abbr title=""&gt; &lt;acronym title=""&gt; &lt;b&gt; &lt;blockquote cite=""&gt;
      &lt;cite&gt; &lt;code&gt; &lt;del datetime=""&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=""&gt; &lt;strike&gt; &lt;strong&gt; </code></p>
  <p class="form-submit">
    <input name="submit" type="submit" id="submit" value="Post Comment">
    <input type="hidden" name="comment_post_ID" value="101" id="comment_post_ID">
    <input type="hidden" name="comment_parent" id="comment_parent" value="0">
  </p>
  <p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="239d8b802c"></p><input type="hidden" name="qtc_comment_lang" value="fr">
</form>

GET http://fr.positon.org/

<form method="get" id="sidebarsearch" action="http://fr.positon.org/">
  <label class="hidden" for="s">Rechercher:</label>
  <div>
    <input type="text" value="" name="s" id="s">
    <input type="submit" id="searchsubmit" value="Search">
  </div>
</form>

Text Content

Rechercher:



TRUCS LIBRES




Menu
Rechercher:



PROFTPD AVEC FICHIER DE MOTS DE PASSE AUTHUSERFILE

2010-10-11 00:45

Par défaut sous Debian, ProFTPD utilise uniquement la base d’utilisateurs
système de /etc/passwd.

Pour ajouter des utilisateurs “virtuels”, il faut procéder comme suit :

Dans /etc/proftpd/proftpd.conf :

DefaultRoot ~
AuthUserFile /etc/proftpd/ftpd.passwd
RequireValidShell off


Puis relancer proftpd : /etc/init.d/proftpd restart

Fichier des utilisateurs :

vi /etc/proftpd/ftpd.passwd
username:HASH:1011:1011:MyUserName:/home/ftp/directory:/bin/true


Vous pouvez générer les lignes du fichier à l’aide de la commande ftpasswd, mais
je trouve plus simple de générer le mot de passe avec la commande :

mkpasswd --hash=md5


Puis collez le HASH dans le fichier des mots de passe.

On corrige les droits du fichier de mot de passe :

chown proftpd /etc/proftpd/ftpd.passwd
chmod go-r /etc/proftpd/ftpd.passwd


Enfin, il suffit de tester.

Liens :

 * http://www.proftpd.org/docs/howto/AuthFiles.html
 * http://www.proftpd.org/docs/directives/linked/config_ref_AuthUserFile.html

2010-10-11 00:45 · Tags: Debian, ProFTPD


LEAVE A REPLY CANCEL REPLY

Your email address will not be published. Required fields are marked *

Name *

Email *

Website

Comment

You may use these HTML tags and attributes: <a href="" title=""> <abbr title="">
<acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em>
<i> <q cite=""> <strike> <strong>





Rechercher:


MES PROJETS

 * Bsync
 * Bizou (french KISS php image gallery)
 * Portquiz.net Outgoing Port Tester

VOIR AUSSI !

 * marcmaurice.fr
 * Les recettes de Mathilde
 * Miximum
 * Palsambleu !
 * Objectif Libre
 * sysadmin.smile.fr
 * Notes du Petitchevalroux

TAGS

Arch Linux backup bash BIOS Brasero bsync Cdrdao cdrom CheckInstall Debian email
Exim find git GitHub gparted Grub inotify Karmic Linux Lucid MPD Nautilus
Raspberry Pi rsync SFTP Spam SSH Thinkpad Ubuntu umask USB USplash XFCE XSplash




© 2024 Trucs Libres. Tous droits réservés.
Design by picomol. Powered by WordPress.