Auto running scripts off a remastered CD question.
I'm running into a problem attempting to get a script to automatically run as user "knoppix". In essence this script must be run as the last thing before the end user gets to use the system (i.e. network needs to be up and running, the user directory need to set-up, X-Windows running, etc).
In other words what I want is where do I put the line:
/usr/local/bin/myscript
or
su - knoppix -c /usr/local/bin/myscript
Yes, I have tested the script, if I pull up a terminal window as soon as the system starts and type "/usr/local/bin/myscript" the script will run fine, it is just a case where I don't want the end users to have have to be bothered typing the above (or read I don't want to have to teach them to do the above).
I've been banging my head against a wall (on and off) on this one for a few weeks, help, and thanks in advance.
C. McGregor