![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| /etc/utmp file does not get updated with boot up details | jyoti_mil | UNIX for Advanced & Expert Users | 1 | 06-11-2007 10:41 AM |
| utmp files | Carmen123 | AIX | 2 | 12-21-2006 12:55 PM |
| utmp ACCOUNTING | thmnetwork | High Level Programming | 2 | 06-17-2005 11:16 AM |
| SCO utmp file | scott_williams1 | SCO | 1 | 10-30-2003 10:45 AM |
| Error login user file utmp | jernesto_diaz | UNIX for Dummies Questions & Answers | 3 | 09-06-2002 11:36 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Help Needed using utmp file!
Hi.
I am working on a small assignment where i need to extract the login information of currently logged in users in a Linux client-server environment.I am able to extract only the userID,IP/HOST name,TTY,device name,GID,PID and login time using the structure 'utmp'.Also when i am saving the inforamtion in a particular file the GID and PID columns are blank in the saved file.Can Anyone explain why?.. ![]() Also i want to also display the information about the last access time of a user.Can this be done??. ![]() Please Help!!: ![]() |
|
||||
|
i also have problem like yours
i also want to get users list and their login time, but i can't use utmp, i think you can use utmp, can't you? would you like to show me the code use utmp to get the users name and etc? thanx |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|