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 > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
logged out users roshni Post Here to Contact Site Administrators and Moderators 1 07-06-2007 03:02 AM
HP-UX users get logged off while idle. Laoinjo UNIX for Advanced & Expert Users 5 06-04-2007 11:28 AM
how many users logged trichyselva Shell Programming and Scripting 4 05-06-2006 02:17 AM
Users logged in through which NIC cburtgo IP Networking 5 04-28-2006 06:59 PM
All tcp/ip users are logged out Docboyeee IP Networking 2 03-13-2003 01:07 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-26-2001
rooh rooh is offline
Registered User
  
 

Join Date: Jul 2001
Posts: 62
Information about users who have logged.

Hi,
Suppose I have a programme called Menu. This menu has various choices as we would expect from a Menu.

Now Can you Please help me as I want the details of the Users to be registered to some file , Whoever has entered this particular Program . Basically to see the username and the time that user had logged in & logged off.


Any suggestions or ideas will be highly appreciated.

Thanks.
Rooh
  #2 (permalink)  
Old 12-26-2001
Jimbo
Guest
  
 

Posts: n/a
Bits: 0 [Banking]
Rooh,
If your programme is a unix script, at script startup you can:

echo `date` `whoami` login >> menu.log

and when they exit the menu, you can:

echo `date` `whoami` logout >> menu.log

If you want to track certain menu selections, for those menu selections, you can:

echo `date` `whoami` Order Report >> menu.log
  #3 (permalink)  
Old 12-26-2001
rooh rooh is offline
Registered User
  
 

Join Date: Jul 2001
Posts: 62
Thanx for ur help. that's perfect.
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 05:11 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
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