FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old December 10th, 2003, 09:19 AM
sameerni sameerni is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 5 sameerni User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old December 11th, 2003, 02:08 AM
4xk's Avatar
4xk 4xk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 42 4xk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
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

Reply With Quote
  #3  
Old December 11th, 2003, 03:42 AM
AlmightySam AlmightySam is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 10 AlmightySam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #4  
Old December 11th, 2003, 06:57 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
sameerni, next time you post a topic like this, it should be posted to Linux forum, not here.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > proftpd problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway