The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
What happens when user logout? yhacks Linux 1 05-16-2008 02:20 AM
.logout sharif SUN Solaris 3 12-24-2007 05:08 AM
logout zam UNIX for Dummies Questions & Answers 2 12-28-2006 07:23 PM
How do you logout from a session? Heron Red Hat 4 04-25-2005 01:11 PM
logout command raguramtgr UNIX for Dummies Questions & Answers 6 04-09-2004 03:36 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-27-2007
2dumb 2dumb is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 40
.logout help

We have an application that uses the csh shell as the default. We can not change this as when we upgrade it will change back to csh. We have several people that log in with this id. I would like to create a .logout exit script to audit what transactions were performed, termal, etc.

Does anyone have an example of a .logout script doing this or have another idea how this could be done.
  #2 (permalink)  
Old 04-30-2007
2dumb 2dumb is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 40
Does anyone have an idea?
  #3 (permalink)  
Old 04-30-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,190
Please read the rules, specifically:

(4) Do not 'bump up' questions if they are not answered promptly. No duplicate or cross-posting and do not report a post or send a private message where your goal is to get an answer more quickly.
  #4 (permalink)  
Old 05-10-2007
2dumb 2dumb is offline
Registered User
  
 

Join Date: Apr 2007
Posts: 40
Does anyone know how to delete or clear the csh history. When people log out I would like the history to be copied to a file along with some other infomation about the connection. However when I do this the history goes back several days so it seems like the last person that logged out did more than they did.

So I would like to copy the history then clear or remove the history. That way when the next person logs in they will start off with a clean slate.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This 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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:36 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0