Sharad Chandra wrote:
> Hi all, I was reading man page of ttyname(3). I thought if i have
> ttyname then using that can i have IP address of connected host?.
> like in sshd logs on log file like.
You can read login informations from utmp(8). /var/run/utmp is a array
of utmp(8).
please check man page for more information.


-- 
Thinker Li - [EMAIL PROTECTED] [EMAIL PROTECTED]
http://heaven.branda.to/~thinker/GinGin_CGI.py

_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to