i'm sorry if yesterday i posted this thread in unix for dummies forums,
i am a newbie in C programming
i want to get active users list and their login time...
i have search and learn about passwd and utmp, but i only can get user list without their login time...
do you have an idea to solve my problem?
thanx
In AIX you can check out the lastlog file in etc/security. You will have to do some scripting to convert the number to a readable date. Check out the commands lssec and lsuser.
i means in linux using C, anybody can help me?