Hello All,
I have a question that I hope someone can help me resolve.
I would like to have an ability to log the user that logs into my machine
to the syslog. Is there a utility the will do such a thing? I presently
have an inetd.conf entry that will tell me when someont is requesting a
telnet session, but I can't find out who that is until they log in and
I am unsure how I would go about setting up a type of watcher to wait
till the user logs in and send a message to syslog (with logger or something)
I have thought of some weird things like doing a who and putting it
in a temporary file and then waiting two minutes and then doing a who
again and comparing the files and sending the differnece to syslogd with
logger.
Any help would be appreciated.
Thanks
Eric Sylvain