View Single Post
Old Jul 5th, 2005, 1:52 PM   #4
Moldz
Programmer
 
Moldz's Avatar
 
Join Date: Feb 2005
Posts: 54
Rep Power: 4 Moldz is on a distinguished road
Quote:
Originally Posted by thinkgeek
I want my daemon to start at system start up as other (start|stop|restart) services/daemons.
What *nix are you using? FreeBSD is very different from RedHat which is different than Gentoo. They all involve creating some type of script.

Quote:
It work is to listen to user logins. Whenever a user logins at the terminal(local or NIS client) it should get the username.
I'm not sure how you would do that. You could make it work similar to the "who" program by simply rechecking the /var/run/utmp for new entries.
Moldz is offline   Reply With Quote