Hi all,
How do i read the utmp/wtmp files (in /var/log/) in my program? For
example if i want to know who are all logged in then how do i get this
information from these files. I know that the 'who' command reads from
these files (i think it is the utmp file)  to get the currently logged
in users. Similarly how do i do it in my program (in c).

Regards,
Rajesh


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to