Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1064 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs

  Comment creer des comptes users sur PROFTPD ?

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Comment creer des comptes users sur PROFTPD ?

n°61158
PaLoTTe
Posté le 24-01-2002 à 21:36:40  profilanswer
 

j'ai installe PROFTPD, j'arrive a me connecter en ftp ou anonymous mais comment on fait pr creer un compte ???

mood
Publicité
Posté le 24-01-2002 à 21:36:40  profilanswer
 

n°61160
lebibi
Notre torture c'est la tourtel
Posté le 24-01-2002 à 21:42:25  profilanswer
 

tu utilises/cré des comptes de user normal (tu ne leur met pas de shell genre bash si il n'accede que par ftp)
 
adduser .....


---------------

n°61161
axey
http://www.00f.net
Posté le 24-01-2002 à 21:42:27  profilanswer
 

http://www.pureftpd.org/README.Virtual-Users


---------------
C'est en forgeant qu'on devient con comme un forgeron.
n°61169
PaLoTTe
Posté le 24-01-2002 à 21:59:35  profilanswer
 

Lebibi a écrit a écrit :

tu utilises/cré des comptes de user normal (tu ne leur met pas de shell genre bash si il n'accede que par ftp)
 
adduser .....  




 
et si c un utilisateur ? genre je me connecte dessus moi, avec palotte, et je veux acceder au ftp avec ce pseudo, je mets koi comme shell ?

n°61173
lebibi
Notre torture c'est la tourtel
Posté le 24-01-2002 à 22:14:21  profilanswer
 

tu met le shell que tu veux
 
moi ce que je fais c'est que les users qui n'accede qu'en FTP je ne leur met pas de shell, question de securité (au cas ou)...


---------------

n°61174
PaLoTTe
Posté le 24-01-2002 à 22:28:56  profilanswer
 

tu peux mettre ton proftpd.conf pour voir ?

n°61190
PaLoTTe
Posté le 24-01-2002 à 23:05:55  profilanswer
 

j'en ai marre !!!  :cry:  :cry:  :cry:  :cry:  
 
ca marche pas !!!!!!  :cry:  :cry:  aidez moi sioupé !!!!!!!!!
 
j'comprends rien !!!!!!!!!!  :cry:  :cry:  :cry:  
 
voila mon 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   "PaLoTTe FTP LINUX SeRvEr"
ServerType   standalone
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 that the server normally runs at.
User    nobody
Group    nobody
 
# Normally, we want files to be overwriteable.
<Directory /*>
  AllowOverwrite  on
</Directory>
 
# Needed for NIS.
PersistentPasswd off
 
# A basic anonymous configuration, no upload directories.
 <Anonymous /var/ftp/pub>
  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   1
  RequireValidShell   off
  AnonRequirePassword  off
#
#  # 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>
   <Limit LOGIN>
     Allow palotte
   </Limit>
# Default root can be used to put users in a chroot environment.
# As an example if you have a user foo and you want to put foo in /home/foo
# chroot environment you would do this:
#  
# DefaultRoot /home/foo foo

n°61191
lebibi
Notre torture c'est la tourtel
Posté le 24-01-2002 à 23:12:37  profilanswer
 

# 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                      "Bibi's FTP Sever"
        ServerType                      standalone
        DefaultServer                   on
        ServerIdent                     on "Donald --> FTP Server"
 
# 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
 
#Logs
LogFormat                       default "%a - - [%{%e/%b/%Y:%H:%M:%S}t] %m %F %s %b"
ExtendedLog                     /var/log/ftp.log all
 
 
# 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                    2
 
# Limitation de la bande passante
#       RateReadBPS                     9000
#       #RateReadFreeBytes               5120
#       #RateReadHardBPS                 on
 
#
     <Limit LOGIN>
     Order deny,allow
     Deny from 127.0.0.1
     Allow from all
     </Limit>
 MaxClientsPerHost             1 "Sorry, only one client is authorized from this host"
# Message d'acceuil avant le login
        DisplayConnect          /usr/local/etc/welcome.msg
 
# Racine deplacee
        DefaultRoot                     ~/
 
# Implantation d'un time out pour les connections
        TimeoutStalled                  300
 
# Set the user and group that the server normally runs at.
        User                            nobody
        Group                           nobody
 
# Normally, we want files to be overwriteable.
        <Directory /*>
          AllowOverwrite                on
        </Directory>
 
# A basic anonymous configuration, no upload directories.
        <Anonymous ~ftp>
          User                          ftp
          Group                         ftp
        # We want clients to be able to login with "anonymous" as well as "ftp"
          UserAlias                     anonymous ftp
          AuthAliasOnly                 off
          RequireValidShell             off
  # Limit the maximum number of anonymous logins
          MaxClients                    3 "Sorry, max %m users -- try again later"
          MaxClientsPerHost             1 "Sorry, only one client is authorized  from this host"
 
        # Cache le repertoire private
        #  HideUser private
        #  HideGroup private
 
        # We want 'welcome.msg' displayed at login, and '.message' displayed
        # in each newly chdired directory.
          DisplayLogin                  welcome.msg
          DisplayFirstChdir             .message
          AccessGrantMsg                "Acces anonyme accorde a  %u."
 
 
         <Limit LOGIN>
     Order deny,allow
     Deny from none
     Allow from all
     </Limit>
 
        # Limit WRITE everywhere in the anonymous chroot
         <Limit WRITE>
           DenyAll
         </Limit>
 
        # Repertoire pour uploader
          <Directory /var/ftp/upload>
            <Limit  RMD DELE MKD>
              DenyAll
            </Limit>
            <Limit STOR CWD READ>
              AllowAll
            </Limit>
          </Directory>
 
</Anonymous>


---------------

n°61194
PaLoTTe
Posté le 24-01-2002 à 23:20:59  profilanswer
 

Merci Lebibi  :bounce:  :bounce:  
 
je vais bien l'etudier !!  
 
merci encore  :jap:

n°61197
lebibi
Notre torture c'est la tourtel
Posté le 24-01-2002 à 23:30:39  profilanswer
 

il n'y a rien de particulier
 
juste peut etre cette partie :
 
# Racine deplacee  
       DefaultRoot                     ~/  
 
Comme ca, chaque user qui se loge en ftp arrive dans son home
bien sur tu peux le modifier et mettre un rep commun avec un rep upload et download


---------------

mood
Publicité
Posté le 24-01-2002 à 23:30:39  profilanswer
 

n°61202
PaLoTTe
Posté le 25-01-2002 à 00:02:16  profilanswer
 

:cry:  :cry:  
 
ca marche po... j'ai l'impression d'etre un gros nul !!  :cry:  
 
j'ai creer un user essai :
 
useradd -s /dev/null -g ftp essai
 
et je n'arrrive pas a me connecter avec lui ...
 
re-v'la le proftpd.conf (modifié) :
 
# 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   "PaLoTTe FTP LINUX SeRvEr"
ServerType   standalone
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
 
 <Limit LOGIN>
 Order deny,allow
 Deny from 127.0.0.1
 Allow from all
 </Limit>
MaxClientsPerHost  1 "allez zouhhhhh !"
 
# Message d'acceuil avant le login
 DisplayConnect  /var/ftp/welcome.msg
 defaultRoot  ~/
 
# Set the user and group that the server normally runs at.
User    nobody
Group    nobody  
 
# Normally, we want files to be overwriteable.
<Directory /*>
  AllowOverwrite  on
</Directory>
 
# Needed for NIS.
PersistentPasswd off
 
# A basic anonymous configuration, no upload directories.
 <Anonymous /var/ftp/pub>
  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   1 "Désolé, seulement 1 connexion Anonyme authorisé, essayez plus tard"
  RequireValidShell   off
  AnonRequirePassword  off
 
# # We want 'welcome.msg' displayed at login, and '.message' displayed
#  # in each newly chdired directory.
#  DisplayLogin   welcome.msg
#  DisplayFirstChdir  .message
   AccessGrantMsg  "YOYO %u !!"
 
 <Limit LOGIN>
 Order deny,allow
 Deny from none
 Allow from all
 </Limit>
 
# Limit WRITE everywhere in the anonymous chroot
#  <Limit WRITE>
#    DenyAll
#  </Limit>
#
 </Anonymous>
 
 
# Default root can be used to put users in a chroot environment.
# As an example if you have a user foo and you want to put foo in /home/foo
# chroot environment you would do this:
#  
# DefaultRoot  ~/
 

n°61203
lebibi
Notre torture c'est la tourtel
Posté le 25-01-2002 à 00:06:19  profilanswer
 

tu as quoi comme message d'erreur ?
 
ton serveur est bien lancé ?
 
tes users ont des droits en lecture ?


---------------

n°61204
PaLoTTe
Posté le 25-01-2002 à 00:12:09  profilanswer
 

  • mon message d'erreur c :


Login incorrect
Echec de l'identification.

 

  • mon serveur est lance puiske j'arrive a me connecte en anonyme


  • hummm  :sarcastic:  comment je sais si mes users ont des droits en lecture ?

n°61205
lebibi
Notre torture c'est la tourtel
Posté le 25-01-2002 à 00:15:22  profilanswer
 

est ce que tu as relancé ton serveur ftp apres avoir modifié le fichier de config ?  
 
pour qu'il puisse prendre en compte les modifs
 
/etc/rc.d/init.d/proftpd restart


---------------

n°61206
PaLoTTe
Posté le 25-01-2002 à 00:17:25  profilanswer
 

oui ca a ete fait...  :sarcastic:  
 
arrff ... chui sur c un truc tt con ...
 
tu vois une erreur dans mon proftpd.conf ?

n°61207
lebibi
Notre torture c'est la tourtel
Posté le 25-01-2002 à 00:23:24  profilanswer
 

bah je ne vois pas trop (je suis naze en plus)
 
est ce que ca merde avec tous tes users ?
 
tu as essayé en root ?


---------------

n°61208
PaLoTTe
Posté le 25-01-2002 à 00:27:11  profilanswer
 

mem chose en root...  :cry:  :cry:  je desespere !!!!

n°61209
lebibi
Notre torture c'est la tourtel
Posté le 25-01-2002 à 00:35:33  profilanswer
 

et avec mon fichier de conf ca marche ou pas ?


---------------

n°61210
PaLoTTe
Posté le 25-01-2002 à 00:36:34  profilanswer
 

bah j'ai pas essayer le fichier entier... j'ai juste pris des morceaux... mais je vais essayer tiens...

n°61212
PaLoTTe
Posté le 25-01-2002 à 00:39:02  profilanswer
 

pareille... ca marche po.....  :cry:  :cry:

n°61213
lebibi
Notre torture c'est la tourtel
Posté le 25-01-2002 à 00:41:57  profilanswer
 

:heink: va te coucher, ca ira mieux demain ;)


---------------

n°61217
PaLoTTe
Posté le 25-01-2002 à 00:49:29  profilanswer
 

ouais c ce ke je vais faire, comme on dit " la nuit porte conseil..."  :jap:  :jap:  
 
merci Lebibi, t'as ete cool :)
 
Bonne nuit  :hello:

n°61219
lebibi
Notre torture c'est la tourtel
Posté le 25-01-2002 à 00:53:59  profilanswer
 

Bonne nuit, je vais au lit aussi  :hello:


---------------

mood
Publicité
Posté le   profilanswer
 


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs

  Comment creer des comptes users sur PROFTPD ?

 

Sujets relatifs
[UNIX] Comment avoir un listing des remote users dans une salle rezo ?[LUG] comment en créer une?
[Licq] J'arrive po a creer un nouvel utilisateur sur mdk 8.0Probleme Proftpd
[linux] créer des pages internet en WYSIWYGproftpd
[MDK 8.1] configurer PROftpD, postfix avec des users déjà existants??la commande linux pour avoir la liste des users???
[newbie] installation d'un serveur Apache, proFTPd, pas à pas 
Plus de sujets relatifs à : Comment creer des comptes users sur PROFTPD ?


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR