You need a help or the complete full script? -----Original Message----- From: Kay947 <[email protected]> Date: Sun, 4 Apr 2010 18:09:54 To: Linux Users Group<[email protected]> Subject: [lug:16249] shell scripting
Hi I need to write a shell script (in bash). I need the script to look in the system logs for faiiled attempts to login as the root user. Mail the results to the root user and create a file in the /tmp directory which contains the line with actual string that was found in the log. This job should run every 15 minutes and the filename should be named results.DATETIME. With DATETIME being the current date and time. Any help would be greatly appreciated. Kay -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup To unsubscribe, reply using "remove me" as the subject. -- You received this message because you are subscribed to the Linux Users Group. To post a message, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit our group at http://groups.google.com/group/linuxusersgroup
