hi

what would be needed to get a workin who and last applet?

i use uclibc and busybox + openssh v5 on a mipsel system...
default shell busybox ash..

last and who doesnt seem to be broken because it works on my desktop linux sys 
(last and who from busybox ....
but i think the files are feed with data from pam .... because my desktop 
system uses pam )... and  on busybox (mipsel) i get this ...

USER       TTY      IDLE      TIME            HOST
root       pts/0    ?         Jul 31 20:09:44 192.168.12.22
root       pts/1    00:00     Jul 31 20:09:52 192.168.12.22
root       pts/2    00:00     Jul 31 20:09:54 192.168.12.22


there u can see three logins the first on on pts/0 is allready ended ..... the 
"?" seem to indicate this on busybox?....
but this login shouldnt show up at all ..... it seems that all logged in 
sessions never disapper ..... and get only 
overwritten when an other login shell uses the same pts/* ....

last doesnt work at all ..... 
but when i do a 

last -f /var/run/utmp
root     pts/2        192.168.1.2      Thu Jul 31 20:09   still logged in
root     pts/1        192.168.1.2      Thu Jul 31 20:09   still logged in
root     pts/0        192.168.1.2      Thu Jul 31 20:09    gone - no logout


... shows this ps/0 session ... and it seems that the session wasnt ended 
correctly....

what could be done to get a nice working last, who functionaility?
maybe someone has some hints for me ....

greets
_______________________________________________
busybox mailing list
[email protected]
http://busybox.net/cgi-bin/mailman/listinfo/busybox

Reply via email to