How to track FTP logins


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to track FTP logins
# 1  
Old 01-24-2010
How to track FTP logins

I have put in the "script" command in the .profile of a particular user id that tracks the terminal session when the user id logs in.
But when the user logs on to the server using FTP, how can this be tracked?
Any input will be appreciated.
# 2  
Old 01-25-2010
Change /bin/false to the shell /sbin/nologin. Make sbin/nologin a link to a script that updates a file somewhere. /sbin/nologin should be on your system
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

User Logins

Is the below logins are needed in the machine..... nuucp , uucp ,smmsp , svctag , listen , webservd , ip ( We are not using printers), Can you help in these? Regards, kumar (3 Replies)
Discussion started by: rajeshkumarvg
3 Replies

2. AIX

AIX ftp/sftp script monitor to failed logins

Hi All, Any idea on how to write a script on AIX 5.3 to monitor ftp or sftp login failed. Thanks and more power, Itik (2 Replies)
Discussion started by: itik
2 Replies

3. Shell Programming and Scripting

Last two logins script

This is the contents of my file: donald.duck 12/07/2009 12:07:58 donald.duck 12/07/2009 12:17:36 donald.duck 12/07/2009 12:22:29 donald.duck 12/07/2009 12:26:39 donald.duck 12/07/2009 12:28:01 mickey.mouse 12/07/2009 12:48:49 mickey.mouse 12/07/2009 12:49:33 mickey.mouse 12/07/2009... (3 Replies)
Discussion started by: diallo0024
3 Replies

4. Shell Programming and Scripting

How to track exit status of ftp automation

ftp automation code is ftp -v -n -i $host_name << EOF user $u_name $u_pass bi mput $tar_file bye EOF How to check whether the file is successfully transfered or not. Suppose the user name or password is provided wrongly then the code should track the error and ask the end user to enter... (2 Replies)
Discussion started by: Dip
2 Replies

5. UNIX for Dummies Questions & Answers

Possible to track FTP user last login? Last and Finger don't track them.

Like the topic says, does anyone know if it is possible to check to see when an FTP only user has logged in? Because the shell is /bin/false and they are only using FTP to access the system doing a "finger" or "last" it says they have never logged in. Is there a way to see when ftp users log in... (1 Reply)
Discussion started by: LordJezo
1 Replies

6. AIX

Limit logins to 1

Trying to limit 1 login per account... Setup: We have 2 auth logins, one to the AIX (telnet)then into a distribution mgmt software, the users do not have a shell to log into on the AIX itself, so placing a script such as: active=`who | awk '{printf",%s,\n",$1}' | grep ,$LOGNAME, | wc -l` ... (0 Replies)
Discussion started by: pheusion
0 Replies

7. Shell Programming and Scripting

Logins-logouts

I want a script that checks the logins and logouts in a system.Is there a way to keep the logins and logouts in files and then compare them every e.g. 10 seconds? for tcsh. (1 Reply)
Discussion started by: aekaramg20
1 Replies

8. UNIX for Advanced & Expert Users

Assigning IP Addresses to logins

This is more a linux question. I have pptp users logging in remotely, they dial in via a modem, my linux server has three modems attached, each modem is assigned an IP address. Each time a user trys to connect to a modem and it is in use, it acts like a rotary system and goes to the next modem.... (1 Reply)
Discussion started by: system77
1 Replies

9. UNIX for Dummies Questions & Answers

NVT logins

Hello again! Another thing came up the other day. I've noticed that a few of my "beloved" users who by the way, use NVT (Novell Virtual Terminal) to log in the server, when told to log off, press the power button to shut down their computer, instead of logging off as they should. As a result... (2 Replies)
Discussion started by: pappous
2 Replies

10. UNIX for Dummies Questions & Answers

Help with logins

Could someone please tell me what I would have to do so I can dial in to Solaris through a modem and login? Thanks in advance. Jomar (2 Replies)
Discussion started by: crispyco
2 Replies
Login or Register to Ask a Question