LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-23-2002, 04:49 PM   #1
jonfa
Member
 
Registered: Mar 2001
Location: FL
Posts: 257

Rep: Reputation: 30
email me ftp user logons


Hi All,

I have wu-ftp setup on my Redhat 7.2 machine and have a few users which frequently log on. I want to recieve an email when ever a user logs on. How can this be accomplished? thanks in advance.

Jon
 
Old 05-24-2002, 04:42 AM   #2
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Hmm, I can't find anything in the ftpaccess manpage that could help you...

try subscribing to the wuftp-questions mailing list and asking them.

To subscribe send an e-mail message to:

majordomo@wu-ftpd.org

The text of the message should only contain the following:

subscribe wuftpd-questions
end

To post a message to the list, send your message to wuftpd-questions@wu-ftpd.org
 
Old 05-24-2002, 05:06 AM   #3
Leffe
LQ Newbie
 
Registered: Apr 2002
Distribution: RH X
Posts: 21

Rep: Reputation: 15
Write a simple cron script that parses the end of /var/log/secure awk/sed's out the username/time and mails it to you...
Could easily be written as a oneliner..

Or if the secure log is too big to parse every few minutes. Change syslog to also log to a fifo and the read from it instead..
 
Old 05-24-2002, 05:17 AM   #4
Leffe
LQ Newbie
 
Registered: Apr 2002
Distribution: RH X
Posts: 21

Rep: Reputation: 15
Well I guess sometimes the brain doesn't work as it's supposed to. It'll only work woth a fifo of course. Or you'd get multiple mails for the same login...
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
inconsistent logons giri2 Mandriva 0 08-17-2004 05:50 PM
samba logons joel112 Linux - Software 4 02-13-2004 07:33 AM
Postfix email user & linux user question. hct224 Linux - Newbie 0 11-29-2003 11:24 PM
Hiding user logons gasurfman Mandriva 1 10-30-2003 10:42 PM
Disable User Logons during Maintence, Possible? BxBoy Linux - General 6 04-13-2003 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:19 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration