hi

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

by now i removed the 

--disable-lastlog \
--disable-utmp \
--disable-wtmp \

line from the openssh makefile to get this workin in sshd and enabled utmp wtmp 
and last in busybox ....
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 openwrt 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 openwrt....
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 this 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
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to