Window close track require
I have implemented a Central authentication and tracking system for managing login & track record of different systems.
I have one central authentication system running Centos 5.3, and have many systems running AIX5.3, AIX 5.2, AIX 6.1, RHEL 5.0, SOLARIS 10 and etc using ssh service (central server & different systems handshaking mechanism is “ssh without password”) where many people’s can login by central server using specific user ID of central server.
When any guys login into the central system by specific user id like “ahsan1919” then he will get a Menu (Prepared by Unix-Script) where put different systems Login ID with IP, just type 1a or 2a then automatically login into that server (like AIX 5.3) and then he worked many jobs and then exit from the server, that’s fine and working. My central system can track login & logout time in Central server (prepared by unix-script)
But when any guys login into any server through central server, and work many tasks and then closes the window (not type exit or logout command) or any application running on his shell, at this moments he close the window, then I didn’t get any log information.
So I need help.
Actually When any guys close the window then my central server not getting any information like login_logout_history information.
I attached sample snapsheets… Please anybody help me…
1. FINACLE: CSIS (10.20.2.21
2. 1a. root
Unix Script sample
echo "$USER has logged-in into $CSISDR as oracle on `date`" >> $HOME/$USER.log
ssh oracle@drcsis "cat ~/.history/.sh_hist" > $HOME/.temp.log
sed '1,146d' $HOME/.temp.log >> $HOME/$USER.log
echo "$USER has logged-out into $CSISDR as oracle on `date`" >> $HOME/$USER.log
Please anybody help me…
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of http://www.linuxquestions.org/questi...prompt-870221/.
|All times are GMT -5. The time now is 02:28 AM.|