bunlarin aynisini yapmisim zaten. sistemde shell i tanimli ftp diye bir kullanici var. home u ise ftp nin root u hatta anonymous diye bir tane daha açtim. oda ayni özellklerde.
benim proftpd.conf u ekte göderiyorum. ayrica birde ekledigim kullanicilarin bilgilerini. yardim edebilirseniz sevinirm. ftp:*:1003:1003:Anonymous User access:/D/Ftp/:/bin/sh Anonymous:*:1004:1004:Anonymous User access:/D/Ftp/:/bin/sh hata nerede? saygilar kolay gelsin! ----- Original Message ----- From: "Yalcin Cekic" <[EMAIL PROTECTED]> To: "Mesut GÜLNAZ" <[EMAIL PROTECTED]> Sent: Thursday, January 15, 2004 5:28 PM Subject: Re: [freebsd] proftpd > > Selam Mesut, > > > ftp diye bir kullanicin olacak, shell'i /etc/shell icinde tanimli > olmali. ftp kullanicisin home dizini senin anonymous'un root'u > olacak ona gore home'u ayarla. Asagida calisan bir "/etc/proftpd.conf" var. > zaten gerekli aciklamalar orada mevcut. > > Y.C > > ------------------------- > # This sample configuration file illustrates configuring two > # anonymous directories, and a guest (same thing as anonymous but > # requires a valid password to login) > > ServerName "FTP Sunucu" > ServerType standalone > > # Port 21 is the standard FTP port. > Port 21 > > # If you don't want normal users logging in at all, uncomment this > # next section > #<Limit LOGIN> > # DenyAll > #</Limit> > > # Set the user and group that the server normally runs at. > User nobody > Group nogroup > > > # To cause every FTP user to be "jailed" (chrooted) into their home > # directory, uncomment this line. > DefaultRoot ~ > > # 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 80 > > # Set the maximum number of seconds a data connection is allowed > # to "stall" before being aborted. > TimeoutStalled 300 > > # 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 50 > > # 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> > > ------------------------- > > > Thursday, January 15, 2004, 4:54:49 PM, you wrote: > > MG> bir sürü document okumama rağmen proftpd hala belirli bir > MG> dizine anonymous izni veremedim. bunun için illaki virtual mı > MG> yapmam lazım. asıl olan'a anonmous izin veremezmiyim? > > MG> > > MG> server a nologin li bir kullanıcı ekledim ama yine olmadı? > > MG> > > MG> kolay gelsin! > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > Liste arsivi: http://lists.enderunix.org ve > http://www.mail-archive.com/[EMAIL PROTECTED] > http://ipucu.EnderUNIX.org - ihtiyac duyacaginiz kisa bilgiler bu sitede! > >
# To have more informations about Proftpd configuration # look at : http://www.proftpd.org/ # # 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 "Mail Server Ftp Servisi'ne Hos geldiniz!" 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 5 # Set the user and group under which the server will run. User nobody Group nogroup # To cause every FTP user to be "jailed" (chrooted) into their home # directory, uncomment this line. DefaultRoot ~ ScoreboardFile /var/run/proftpd # Normally, we want files to be overwriteable. <Directory /D/Ftp> AllowOverwrite on AllowRetrieveRestart on AllowStoreRestart on DeleteAbortedStores on HiddenStor on HideNoAccess on </Directory> # A basic anonymous configuration, no upload directories. If you do not # want anonymous users, simply delete this entire <Anonymous> section. ######################################################################### # # # Uncomment lines with only one # to allow basic anonymous access # # # ######################################################################### <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 5 ## 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> <Global> <Anonymous /D/Ftp> </Anonymous> AllowRetrieveRestart on ServerIdent on "Mail Server FTP Sunucusuna HosGeldiniz! -=NetMaster=-" DeleteAbortedStores on HiddenStor on ShowSymlinks off LoginPasswordPrompt on AccessDenyMsg "Gecersiz Kullanici adi veya Sifre! 1 hosttan Sadece 1 login olabilir! Lütfen Tekrar Deneyiniz! Yine Basarisiz olursan AccessGrantMsg "Login islemi Basarili! iyi Eglenceler. Keyfini Cikarin! -=NetMaster=-" AllowOverwrite off RootLogin off DisplayConnect ""Login isleminiz Gerceklestirilmeye ;Calisiliyor. Lütfen Bekleyiniz!.."" DisplayGoAway ""10 dan fazla Baglanti Oldugu icin Lütfen Baglantilarin Birisi sonlana kadar bekleyiniz!"" DisplayQuit ""Umariz yardimci olabilmisizdir!"" UseFtpUsers on DefaultRoot ~ TransferLog /var/log/proftpd_tran.log </Global> UseReverseDNS on <Anonymous /D/Ftp> LoginPasswordPrompt on RootLogin off AnonRequirePassword off DefaultChdir /D/Ftp DeleteAbortedStores on UserDirRoot off AllowForeignAddress off AllowRetrieveRestart on AllowStoreRestart on MaxClients 10 "Girişiniz bir sebepten dolayı gerçekleştirilemiyor. Lütfen [EMAIL PROTECTED] adresine mail atınız!" MaxClientsPerHost 2 "Girişiniz bir sebepten dolayı gerçekleştirilemiyor. Lütfen [EMAIL PROTECTED] adresine mail atınız!" </Anonymous> SystemLog /var/log/proftpd_er.log AllowForeignAddress off AllowRetrieveRestart on AllowStoreRestart off DeferWelcome on ShowSymlinks off LoginPasswordPrompt on AccessDenyMsg "Geçersiz Kullanıcı adı yada parola!" AccessGrantMsg "Keyfinize Bakın!" ServerAdmin [EMAIL PROTECTED] RootLogin off DisplayConnect Hazırlanıyor! DisplayGoAway "ÇOK FAZLA KULLANICI KULLANIYOR! - Lütfen Daha Sonra Tekrar Deneyiniz" DisplayQuit "Hoşçakalın!" MaxLoginAttempts 10 RequireValidShell off UseFtpUsers on
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Liste arsivi: http://lists.enderunix.org ve http://www.mail-archive.com/[EMAIL PROTECTED] http://ipucu.EnderUNIX.org - ihtiyac duyacaginiz kisa bilgiler bu sitede!