Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

ProFtpd server problem

[es] :: Linux mreže :: ProFtpd server problem

[ Pregleda: 3182 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

vukasin0
Vukasin Nikodijevic
Beograd

Član broj: 15203
Poruke: 94
*.vdial.verat.net.



+1 Profil

icon ProFtpd server problem12.09.2005. u 22:00 - pre 226 meseci
Pozdrav svima,
instalirao sam proftpd i imam manjih problema:

Napravio sam dva direktorijuma upload i download.Hteo bi da se u upload moze vrsiti upis podataka(to sad nije moguce) inace kad se ulogujem na ftp server kao postojeci korisnik sve mi je dozvoljeno ali na drugoj lokaciji koju sam ja definisao u .conf fajlu.

Drugi problem je kako da namestim da se podize u boot time?

Ako ce biti od pomoci evo mog proftpd.conf file-a.


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

MaxInstances 30

# Set the user and group under which the server will run.
User root
Group root

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

# Normally, we want files to be overwriteable.
<Directory /srv/ftp/upload/*>
AllowOverwrite on
</Directory>
# A basic anonymous configuration, no upload directories. If you do not
# want anonymous users, simply delete this entire <Anonymous> section.
<Anonymous ~ftp>
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 10

# 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>
AllowAll
</Limit>
<Directory />
Umask 022
AllowOverwrite off
<Limit MKD STOR DELE XMKD RNRF RNTO RMD XRMD >
DenyAll
</Limit>
</Directory>

<Directory ~/srv/ftp/download/*>
Umask 022
AllowOverwrite off
<Limit MKD XMKD RNRF RNTO DELE RMD XRMD STOR>
DenyAll
</Limit>
</Directory>

<Directory ~/srv/ftp/upload/*>
Umask 022
AllowOverwrite on
<Limit MKD XMKD RNRF RNTO DELE RMD XRMD STOR WRITE>
AllowAll
</Limit>
</Directory>
</Anonymous>
 
Odgovor na temu

mulaz
Ljubljana

Član broj: 47602
Poruke: 2239
*.dial-up.dsl.siol.net.

Jabber: mulaz@elitesecurity.org
Sajt: www.mulaz.org


+184 Profil

icon Re: ProFtpd server problem12.09.2005. u 22:27 - pre 226 meseci
chmod a+w upload_dir

-- promeni permissione da moze da se pise u upload folder
Bolje ispasti glup nego iz aviona
http://www.mulaz.org/
 
Odgovor na temu

random
Vladimir Vrzić
Beograd

Član broj: 85
Poruke: 3866
*.eth-wifi.verat.net.

Sajt: www.last.fm/user/vrza


+4 Profil

icon Re: ProFtpd server problem13.09.2005. u 10:32 - pre 226 meseci
mulaz, ne mora svako da piše u taj upload folder, dosta je da to može ftp user (lokalni nalog koji se koristi za anonimni ftp, u ovom slučaju je to "ftp").

[Ovu poruku je menjao random dana 13.09.2005. u 11:33 GMT+1]
int rand(void);

Those who do not understand Unix are condemned to reinvent it, poorly.

Upali lampicu — koristi Jabber!
 
Odgovor na temu

vukasin0
Vukasin Nikodijevic
Beograd

Član broj: 15203
Poruke: 94
*.vdial.verat.net.



+1 Profil

icon Re: ProFtpd server problem13.09.2005. u 20:31 - pre 226 meseci
Da li mozete malo detaljnije nije mi bas najjasnije.
 
Odgovor na temu

[es] :: Linux mreže :: ProFtpd server problem

[ Pregleda: 3182 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.