I need a script to email immediately, when ever any user logins to my Linux server.

link|improve this question
6  
This is a site for professionals, and while we don't have the expectation that everyone is an expert, we do have the expectation that you show a modicum of effort when composing questions, and perhaps show some evidence that you have tried to tackle this on your own, instead of just asking us to do your job for you. – ErikA Jan 30 at 1:49
feedback

closed as not a real question by squillman, Cheekaleak, John Gardeniers, ErikA, Ward Jan 30 at 5:40

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. See the FAQ for guidance on how to improve it.

1 Answer

http://sourceforge.net/projects/pam-script/ along with the mail or mailx command should be able to get the job done without much trouble.

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.