Communauté Informatique NDFR.net

Communauté Informatique NDFR.net (http://www.ndfr.net/forums/index.php)
-   Unix/Linux Client (http://www.ndfr.net/forums/forumdisplay.php?f=53)
-   -   Serveur FTP (http://www.ndfr.net/forums/showthread.php?t=3084)

Magi-X 08-12-2003 15:35

Serveur FTP
 
Salu,

Voila pour lecole on doit installer un serveur FTP ! Et on doit chercher nous même un tutorial sur le net! Sauf que la je ne trouve pas !

Donc il faut installer un serveur FTP qu'on sait acceder d'un autre ordi (duh) ! Enfin si qqun (ptete mon ami Fred :p ) sais ou je peux trouver cela (de pref en Anglais) !

Merci !

LeMoi 08-12-2003 15:44

Re: Serveur FTP
 
je ne peux que te renvoyer vers un sujet similaire ;)
http://www.newdimension-fr.net/forum...read.php?t=422

Pwet 08-12-2003 17:23

Re: Serveur FTP
 
Sous Windows ou *nux ?

Magi-X 08-12-2003 17:27

Re: Serveur FTP
 
Quote:

Originally Posted by LeMoi
je ne peux que te renvoyer vers un sujet similaire ;)
http://www.newdimension-fr.net/forum...read.php?t=422

Quote:

Originally Posted by Pwet
Sous Windows ou *nux ?

Euh je suis dans la partie Unix/Linux ! Donc c'est pour linux ! Le RedHat 9 plus precisement !

Pwet 08-12-2003 18:16

Re: Serveur FTP
 
ah oué
lol :)
g pris a news sur la page daccueil, donc j'ai pas fait gaffe...

Bon, tiens :
PROFTPD

VSFTPD

Voilà, j'espere que ça te servira....

Magi-X 10-12-2003 09:58

Re: Serveur FTP
 
Hello, bon j'ai pris comme serveur ftp "proftp" ! Mais j'ai quelque probleme !

Mais j'ai un probleme ! Donc le but de lexercices est de creer un ptit serveur ftp pour un compte donc user + pass ! et un anonymous !

Pour le compte avec le user+pass ca fonctionne ! C'est pour le anonymous que j'ai des bleme !

Voici lerreur dans mon ftp (gftp):

Quote:

220 ProFTPD 1.2.9 Server (ProFTPD Default Installation) [magixport.lan]
USER anonymous

331 Anonymous login ok, send your complete email address as your password.
PASS xxxx
530-Unable to set anonymous privileges.
530 Login incorrect.
Disconnecting from site localhost
Et voica la config de mon proftpd.conf

Quote:

# 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 "ProFTPD Default Installation"
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 under which the server will run.
User magix
Group ti

# To cause every FTP user to be "jailed" (chrooted) into their home
# directory, uncomment this line.
#DefaultRoot ~

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

# Our "basic" anonymous configuration, including a single
# upload directory ("uploads")
<Anonymous ~ftp>

# Allow logins if they are disabled above.
<Limit LOGIN>
AllowAll
</Limit>

# Maximum clients with message
MaxClients 5 "Sorry, max %m users -- try again later"

User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp

# Limit WRITE everywhere in the anonymous chroot
<Limit WRITE>
DenyAll
</Limit>

# An upload directory that allows storing files but not retrieving
# or creating directories.
<Directory uploads/*>
<Limit READ>
DenyAll
</Limit>

<Limit STOR>
AllowAll
</Limit>
</Directory>
</Anonymous>
Si quelqu'un a une idee !

Merci


All times are GMT +2. The time now is 07:49.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.