|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
proftpd problem
hi all,
I am facing problem with loging in using ftp I am using proftpd ftp serve. all it say is "LOGIN INCORRECT". Can anyone guide me through? I have PAM configured ftp is in place (in /etc/pam.d/) passwd file is in place (in /usr/local/proftpd/etc) as mentioned in proftpd.conf finally here is my proftpd.conf ########### proftpd.conf start ############### # 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 "Consular Operations Central" 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 TimeoutLogin 120 TimeoutIdle 600 TimeoutNoTransfer 900 TimeoutStalled 3600 #AuthPAM off # 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 10 #PersistantPassword off # Set the user and group under which the server will run. User nobody Group nobody # To cause every FTP user to be "jailed" (chrooted) into their home # directory, uncomment this line. #DefaultRoot ~ DefaultRoot /usr/local/apache/htdocs # # Performance, let's do DNS resolution when we process the logs... # UseReverseDNS off # Normally, we want files to be overwriteable. <Directory /> 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> DenyAll </Limit> </Anonymous> <VirtualHost 192.168.100.191> ServerAdmin sameerni@netscape.net ServerName "Consular Operations" Umask 027 DefaultRoot /usr/local/apache/htdocs Port 4000 # AuthPAM off AuthUserFile /usr/local/proftpd/etc/passwd # AuthGroupFile /usr/local/proftpd/etc/group <Limit LOGIN> DenyAll </Limit> <Anonymous /usr/local/proftpd/nowhere> User ftp Group ftp UserAlias anonymous ftp <Limit LOGIN> AllowAll </Limit> <Limit WRITE> DenyAll </Limit> </Anonymous> # # define user based access # <Directory /usr/local/apache/htdocs> <Limit ALL> AllowUser sam AllowUser almighty DenyAll </Limit> </Directory> </VirtualHost> ########### proftpd.conf end ############## Here is my passwd file ########## passwd file start ########### almighty:thatsme:99999:99999::/home/sam:/bin/bash vipin:vipin:99998:99998::/home/vipin:/bin/bash ########## passwd file end ########### Last edited by sameerni : December 10th, 2003 at 09:23 AM. |
|
#2
|
||||
|
||||
|
you are alright with giving away usernames and passwords?
are you sure the u/n, p/w and ports are correct
__________________
Mistakes are made, you pay for them.. then you do it again |
|
#3
|
|||
|
|||
|
passwd file is wrong
I just found out that the passwords need to be md5 encrypted hash and not cleartext
so I am gonna try that.... Strike |
|
#4
|
|||
|
|||
|
sameerni, next time you post a topic like this, it should be posted to Linux forum, not here.
|
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > proftpd problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|