Register
It is currently Wed Nov 26, 2014 5:11 am

Console login script


All times are UTC - 6 hours


Post new topic Reply to topic  [ 3 posts ] 
Author Message
 PostPosted: Wed Jun 29, 2011 11:20 am   

Joined: Mon Apr 27, 2009 2:24 pm
Posts: 10
Hello,

I'm looking for a script that can track user logins from the CONSOLE only on a RHEL 5.5 system and e-mail me pertinent information about the user. I already have a working script for SSH logins that e-mails me the username/date/time and the place from which the user logs in.


Top
 Profile  
 PostPosted: Fri Jul 08, 2011 9:32 pm   

Joined: Mon May 31, 2010 7:40 pm
Posts: 25
Why can't you modify this script to do the same for console logins?


Top
 Profile  
 PostPosted: Mon Jul 11, 2011 10:38 am   
Moderator
User avatar

Joined: Wed May 03, 2006 2:05 pm
Posts: 242
Hi woodson2!

How does your SSH reporting script detect user logins? It should just be a matter of detecting a login and differentiating based on the TTY type. Can you show us what you've got for SSH? Maybe we can help tweak it do report both SSH and console logins!


Top
 Profile YIM  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP