![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| logged out users | roshni | Post Here to Contact Site Administrators and Moderators | 1 | 07-06-2007 12:02 AM |
| HP-UX users get logged off while idle. | Laoinjo | UNIX for Advanced & Expert Users | 5 | 06-04-2007 08:28 AM |
| how many users logged | trichyselva | Shell Programming and Scripting | 4 | 05-05-2006 11:17 PM |
| Users logged in through which NIC | cburtgo | IP Networking | 5 | 04-28-2006 03:59 PM |
| All tcp/ip users are logged out | Docboyeee | IP Networking | 2 | 03-13-2003 09:07 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
|||
|
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 |