Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


Closed Thread
  Search this Thread
Old 03-22-2011, 10:02 AM   #1
LQ Newbie
Registered: Mar 2011
Posts: 2

Rep: Reputation: 0
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…
Menu example
2. 1a. root
Unix Script sample
echo "$USER has logged-in into $CSISDR as oracle on `date`" >> $HOME/$USER.log
ssh oracle@drcsis
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…
Old 03-22-2011, 01:19 PM   #2
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
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

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Track if any user close the windows of shell prompt sahworld Linux - Server 1 03-22-2011 02:06 PM
does SDL require X window system for video work? vendtagain Programming 6 10-06-2009 12:15 AM
Close all window in a window manager zghh Linux - Software 1 12-20-2006 04:18 PM
Does the X Window System server in DSL 1.1 require 128MB RAM? t3gah DamnSmallLinux 6 06-30-2005 12:14 AM
Javascript - what to use rather than window.close() then davee Programming 2 04-11-2005 09:28 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 12:54 PM.

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