Précédent   Forum des professionnels en informatique > Webmasters - Développement Web > Serveurs (Apache, IIS,...)
Serveurs (Apache, IIS,...) Forum d'entraide sur les Serveurs : Apache, IIS, ...
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 19/05/2007, 14h20   #1
Nouveau Membre du Club
 
Inscription : avril 2006
Messages : 99
Détails du profil
Informations forums :
Inscription : avril 2006
Messages : 99
Points : 31
Points : 31
Par défaut [Proftpd] Créer user proftpd

Salut all,


je galère depuis quelques jours avec xampp sous ubuntu feizy ...

J'ai proftpd qui à comme User => X (par exemple)

donc je créer un user supplémentaire (Y pour mon exemple), mot de passe et son répertoire /home/Y/

Le problème est quand je me connecte via filezilla avec l'utilisateur Y mais il attéris dans le répertoire de X :s

voici mon proftpd.conf :
Code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 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


ServerName			"ProFTPD"
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				X
#Group				nogroup

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

# only for the web servers content
DefaultRoot /opt/lampp/htdocs

# nobody gets the password "lampp"
# commented out by lampp security
 
UserPassword X ******

# nobody is no normal user so we have to allow users with no real shell
RequireValidShell off

# nobody may be in /etc/ftpusers so we also have to ignore this file
UseFtpUsers off
<Global>
DefaultChdir    /home/Y/scrds_l
DefaultRoot    /home/Y/scrds_l
AllowOverwrite    yes
MaxClients    3
MaxClientsPerHost    1
UseFtpUsers    off
AllowForeignAddress    on
ServerIdent    on "ProFTP cstrikecss Server Ready"
AccessGrantMsg    "Bienvenue"
</Global>

Merci à vous pour vos lumières
eric0279 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 28/10/2007, 11h17   #2
Membre éprouvé
 
Homme Marwan Rabbaa
Technophile Web
Inscription : mai 2007
Messages : 930
Détails du profil
Informations personnelles :
Nom : Homme Marwan Rabbaa

Informations professionnelles :
Activité : Technophile Web
Secteur : High Tech - Multimédia et Internet

Informations forums :
Inscription : mai 2007
Messages : 930
Points : 412
Points : 412
Envoyer un message via MSN à sliderman Envoyer un message via Yahoo à sliderman
Moi je te dirais que si tu demande cele du devrais peut être lire
La documentation officielle

mais bon comme je suis gentil, je te dis

arrange la configuration DefaultChDir de ton User, idéalement dans un
<IfUser>, mais pour cela le serveru proftpd est à recompiler (mais la sécurité est ganatie puisque ton utilsateur ne peut pas se déplacer vers le haut)

lis ceci
__________________
http://aldorande.miniville.fr/ind
Fedora 8, eclipse 3.3 sur x86_64
--------------
Colorer votre code php
sliderman est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 28/10/2007, 12h13   #3
Nouveau Membre du Club
 
Inscription : avril 2006
Messages : 99
Détails du profil
Informations forums :
Inscription : avril 2006
Messages : 99
Points : 31
Points : 31
Merci de la réponse mais étant très limiter en Anglais, ça va pas le faire même si google existe, ce n'est pas top la traduction.
eric0279 est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 02h50.


 
 
 
 
Partenaires

Hébergement Web