LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Closed Thread
  Search this Thread
Old 03-22-2011, 09:02 AM   #1
sahworld
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
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
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, 12:19 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
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/.
 
  


Closed Thread



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 01:06 PM
does SDL require X window system for video work? vendtagain Programming 6 10-05-2009 11:15 PM
Close all window in a window manager zghh Linux - Software 1 12-20-2006 03:18 PM
Does the X Window System server in DSL 1.1 require 128MB RAM? t3gah DamnSmallLinux 6 06-29-2005 11:14 PM
Javascript - what to use rather than window.close() then window.open() davee Programming 2 04-11-2005 08:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 04:40 PM.

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