FTP user getting locked out automatically


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users FTP user getting locked out automatically
# 1  
Old 10-15-2013
FTP user getting locked out automatically

I need help. I have a ftp user which is used by other system to transfer file to my system.
But somehow my ftp user gets locked out due to invalid failed logins by some source system and causing lots of problems. Also i am aware that user password is not expiring rather it is getting locked due to number of failed login attempt by source system.
I am not able to find out the source system.
So is there any way how can I check which source IP/user is locking my ftp user every now and then.

Please help. Many thanks in advance.
# 2  
Old 10-15-2013
What is the ftp server you are running and what is the operating system? One placet to check are the ftp server logs; however, this dpends on the ftp server. You may be able to do the following command to track ftp per user.... (this is on an aix system)
Code:
last | grep ftp

# 3  
Old 10-16-2013
OS version

Linux rdl01061app01 2.6.18-238.el5 #1 SMP Tue Jan 4 15:41:11 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
# 4  
Old 10-16-2013
Your have posted two threads and i replied to the other one first!


First step is to turn on logging for your FTP server. Is it vsftp perhaps? I think you turn it on in /etc/vsftpd/vsftpd.conf with the xferlog_enable and xferlog_file values.

Also, you could look in the file referred to in /etc/rsyslog.conf for all the authpriv.* messages. Does this give you a clue?


If you still can't get it sorted, issue a new FTP user account to the server you trust to connect.


I hope that this helps


Robin
Liverpool/Blackburn
UK
# 5  
Old 10-16-2013
Many thanks for your prompt response.
I did check on my system as per your suggestion unfortunately could not find /etc/rsyslog.conf file anywhere.
Also could you please suggest how we can turn on xferlog_enable and xferlog_file values in /etc/vsftpd/vsftpd.conf. Is there any parameters that needs to be turn on.
# 6  
Old 10-16-2013
From info about the .conf file::
Quote:
xferlog_enable
If enabled, a log file will be maintained detailling uploads and downloads. By default, this file will be placed at /var/log/vsftpd.log, but this location may be overridden using the configuration setting xferlog_file.

Default: NO (but the sample config file enables it)

xferlog_file
This option is the name of the file to which we write the transfer log. The transfer log is only written if the option xferlog_enable is set.

Default: /var/log/vsftpd.log
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to check the file locked or in use at FTP?

Hi Experts, I am beginner to shell scripting, I have a archive script which will connect to the FTP server and archive the files from FTP source location to FTP archive location. Now the problem here is, the script working for few files and not working for few.I am facing the below error... (1 Reply)
Discussion started by: spidy
1 Replies

2. Solaris

User account get locked due to strange behaviours

I am facing strange problem where after three failed login attempt user password must be locked. Actually what is happening, when I take the putty session of the server & enter user name on the prompt at the login prompt & then press enter to enter the password at this time when I checked the... (10 Replies)
Discussion started by: sb200
10 Replies

3. Shell Programming and Scripting

FTP user getting locked out automatically

I need help. I have a ftp user which is used by other system to transfer file to my system. But somehow my ftp user gets locked out due to invalid failed logins by some source system and causing lots of problems. Also i am aware that user password is not expiring rather it is getting locked due to... (2 Replies)
Discussion started by: sv0081493
2 Replies

4. Shell Programming and Scripting

Finding AIX user accounts expired or locked

// AIX 6.1 In need of finding which AIX user accounts will be expired and are locked. I have placed the following parameters under /etc/security/user... (1 Reply)
Discussion started by: Daniel Gate
1 Replies

5. UNIX for Advanced & Expert Users

why file automatically deleting in ftp server

Iam putting file in ftp server. iam doing ftp to transfer a file to ftp server but after sometime(10 sec) the file is automatically deleting in the ftp. Can i know why this happens. When my friend ftp the file to the same server , the file is not deleting aftersometime... it is there. Can... (1 Reply)
Discussion started by: nani1984
1 Replies

6. AIX

User locked

hi, how to unlock the user,,, i want the command to unlock the user orbit..... (2 Replies)
Discussion started by: udtyuvaraj
2 Replies

7. UNIX for Dummies Questions & Answers

Difference between : Locked User Account & Disabled User Accounts in Linux ?

Thanks AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies

8. Solaris

need script for locked and unused user accounts in /export/home directory

Hi all, i have to need one script: 1. it will capture the unused user accounts in /export/home directory. 2. it will capture the locked user accounts in /export/home directory. Note: locked accounts will show in /etc/passwd like /bin/false --> (instead of ksh it will show false) the... (1 Reply)
Discussion started by: krishna176
1 Replies

9. Linux

Locked out of Mandrake 9.1 user account

Hi all, I've been using linux/unix now only for a couple of months and was doing ok until about 30 minutes ago... I needed to reboot into my windows 2000 partition, so, in a terminal I typed: shutdown -r now which duly rebooted the PC for me. On getting to the OS selection screen I... (5 Replies)
Discussion started by: alarmcall
5 Replies
Login or Register to Ask a Question