VSFTPD connect problem! help me hurry pls

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat VSFTPD connect problem! help me hurry pls
# 1  
Old 05-24-2012
VSFTPD connect problem! help me hurry pls

hello every one.. i'm new here... so this is my problem.. have vsftpd server.. and can't log in.. my config:

Code:
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
# When SELinux is enforcing check for SE bool ftp_home_dir
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
# When SELinux is enforcing check for SE bool allow_ftpd_anon_write, allow_ftpd_full_access
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
# When SELinux is enforcing check for SE bool allow_ftpd_anon_write, allow_ftpd_full_access
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# Activate logging of uploads/downloads.
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using "root" for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# You may override where the log file goes if you like. The default is shown
# below.
#xferlog_file=/var/log/vsftpd.log
#
# If you want, you can have your log file in standard ftpd xferlog format.
# Note that the default log file location is /var/log/xferlog in this case.
xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial of service
# attack (DoS) via the command "SIZE /big/file" in ASCII mode. vsftpd
# predicted this attack and has always been safe, reporting the size of the
# raw file.
# ASCII mangling is a horrible feature of the protocol.
#ascii_upload_enable=YES
#ascii_download_enable=YES
#
# You may fully customise the login banner string:
#ftpd_banner=Welcome to blah FTP service.
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd/banned_emails
#
# You may specify an explicit list of local users to chroot() to their home# users to NOT chroot().
#chroot_local_user=NO
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list
#
# You may activate the "-R" option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as "ncftp" and "mirror" assume
# the presence of the "-R" option, so there is a strong case for enabling it.
#ls_recurse_enable=YES
#
# When "listen" directive is enabled, vsftpd runs in standalone mode and
# listens on IPv4 sockets. This directive cannot be used in conjunction
# with the listen_ipv6 directive.
listen=YES
#
# This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6
# sockets, you must run two copies of vsftpd with two configuration files.
# Make sure, that one of the listen options is commented !!
#listen_ipv6=YES

pam_service_name=vsftpd
userlist_enable=YES
userlist_deny=no
tcp_wrappers=YES

-------------------------------------------------------------
Code:
# vsftpd userlist
# If userlist_deny=NO, only allow users in this file
# If userlist_deny=YES (default), never allow users in this file, and
# do not even prompt for a password.
# Note that the default vsftpd pam config also checks /etc/vsftpd/ftpusers
# for users that are denied.
geezer
pontoneli
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody

-------------------------------------------------------
GNU nano 2.3.1 File: ftpusers

Code:
# Users that are not allowed to login via ftp
root
bin
daemon
adm
lp
sync
shutdown
halt
mail
news
uucp
operator
games
nobody

============================


Code:
[root@Pilate vsftpd]# ftp 192.168.2.100
Connected to 192.168.2.100 (192.168.2.100).
220 (vsFTPd 2.3.4)
Name (192.168.2.100:geezer): geezer
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp> user
(username) pontoneli
331 Please specify the password.
Password: 
530 Login incorrect.
Login failed.
ftp>

what should be problem??

p.s password is correct!

please help me hurry

Last edited by methyl; 05-24-2012 at 05:04 PM.. Reason: please use code tags. attempt at layout. correct spelling.
# 2  
Old 05-24-2012
Either the IP address, the FTP username, or the FTP password is wrong.

Ps. With a post like this, please make it clear whether each of the configuration files is on the client or the server. Also mention the exact Operating System and version of both the client and the server.


Quote:
userlist_deny=NO
The "NO" is in upper case.

Last edited by methyl; 05-24-2012 at 05:20 PM.. Reason: original post was rubbish
# 3  
Old 05-24-2012
yes userlist_deny=no and in user_list is user PONTONELI and GEEZER to...

---------- Post updated at 03:26 PM ---------- Previous update was at 03:13 PM ----------

all is correct. i'm trying from server to connect to ftp.
# 4  
Old 05-24-2012
First, try upper-case "NO". I see no attention to upper/lower carriage in your posts. Unix is case-significant in account names as well as commands.

The ftp error message does not imply permissions, just wrong password or other detail.

If it takes a long time to fail, then it might be a firewall.

I have seen older ftp logins fail where the username is too long (>8 characters) or the password is too long (>6 characters) or where the password is anything other than totally basic ASCII letters and numbers. FTP is old technology - it does not know about complex passwords. Try changing the password to a 6-character simple string.
Good luck.

Last edited by methyl; 05-24-2012 at 05:40 PM..
# 5  
Old 05-24-2012
i have changed upper-case:

listen=YES
#
# This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6
# sockets, you must run two copies of vsftpd with two configuration files.
# Make sure, that one of the listen options is commented !!
#listen_ipv6=YES


userlist_enable=YES
userlist_deny=NO
tcp_wrappers=YES


i set to simple password for example- ghjklm i tryd also 678905 but it's not works...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Does vsftpd support user access with client certificate with priv/pub key + vsftpd certificate?

:rolleyes:I am trying to setup all certificate based client-server environment in Linux using vsftpd and curl with openssl. I would like to make a user access with vsftpd certificate and user own client certificate (self-signed) with private/public key. I don't see google posts about the my plan... (4 Replies)
Discussion started by: gogogo
4 Replies

2. UNIX for Dummies Questions & Answers

Problem using VSFTPD

Hello, When my fellow employees loggin to the FTP server they have no problems if they use FTP clients. When they try and access the FTP site using their browsers using ftp://<domain> name all they get is a pub directory which is empty. They are not even prompted for loggin. How to fix... (2 Replies)
Discussion started by: mojoman
2 Replies

3. Shell Programming and Scripting

Problem.. can someone pls help..

Hi All, My file contains data like below. Key ~PILCSZY First Name Szymon Surname Pilch User Code Group SCO-PL User Group Description SCO - Poland Key ... (2 Replies)
Discussion started by: harshakusam
2 Replies

4. Solaris

FTP problem in vsftpd & NcFTPd both

Hello Gurus, after installtion and configuration of vsftpd and NcFTPd, i could able to ftp from another Linux server but not from other windows cmd prompt. It show user/PASS need to be provided its not even prompting for username and password. Y it differs from windows and linux...? ... (1 Reply)
Discussion started by: bullz26
1 Replies

5. Red Hat

FTP problem in vsftpd & NcFTPd both

Hello Gurus, after installtion and configuration of vsftpd and NcFTPd, i could able to ftp from another Linux server but not from other windows cmd prompt. :mad: It show user/PASS need to be provided :( its not even prompting for username and password. :( Y it differs from windows and... (0 Replies)
Discussion started by: bullz26
0 Replies

6. Shell Programming and Scripting

Simple program but problem-pls Help

Hi All, I have problem in the following shell script (problem in 2and3 line i guess) #!/bin/sh set value1 = 90; set value2 = 70; if ; then echo "$value1 is normal" else echo "$value2 is abnormal" fi when executed output: $ value_test.sh (Enter) is abnormal Neither it's printing... (13 Replies)
Discussion started by: user__user3110
13 Replies

7. What is on Your Mind?

What can you do when you need to find an excuse in a hurry?

try this, telnet towel.blinkenlights.nl 666 another mindless timewaster when you're bored of twiddling your thumbs :D (0 Replies)
Discussion started by: sparcguy
0 Replies

8. Shell Programming and Scripting

Performance problem with my script ...suggestions pls

Hi , I have included my script below, pls read thro this req. I want my script to run for every hour , the problem is I CANNOT USE CRONTAB which is prohibited inside the company. My script does what it is supposed to do (to determine the memory and then send a email if it crosses a certain... (2 Replies)
Discussion started by: vivsiv
2 Replies

9. UNIX for Dummies Questions & Answers

HURRY UP!Need for help!!!!

I am a fresher in UNIX system.Today My SCO UNIX machine is stopped by an unkonwn reason.The machine tell me that UX:S69INET:ERROR TCP/IP startup was not entirely successful.Erroe message in /tmp/inet.start please help me,very emergency. (1 Reply)
Discussion started by: jackfok
1 Replies

10. UNIX for Advanced & Expert Users

Strange swap space problem, pls help.

During Sun Solaris 8 installation, I did allocate 1 G for the swap partition. By doing a "df -k" shows the swap space usage is only 1% even during the application server is heavily processing. However, when I do a "vmstat", it shows that the swap memory free space is only 8816 out of 1419100. ... (1 Reply)
Discussion started by: champion
1 Replies
Login or Register to Ask a Question