|
Ok then, check out /etc/init.d, it is full of scripts that start programs on boot. They are somewhat simple bash scripts, I would make a copy of one of them and change what you need. Then use the program /sbin/chkconfig to setup the script to run on boot
The utmp file is in a binary format. You can find out the exact structure by checking out the man page, "man utmp".
|