PDA

View Full Version : running scripts at startup when KNOPPIX boots



pankajgadhari
01-07-2004, 05:40 AM
hello friends, which are the default users of KNOPPIX and what are their passwords, and also tell me if i want certain scripts to be run automatically when KNOPPIX runs, plz tell how to do that, and where to place that scripts to run automatically during startup.
its very urgent

thanks

arkaine23
01-07-2004, 06:33 AM
gotta make a persistent home and put them in ~/.kde/Autostart or remaster the CD and put them in /etc/rc5.d. You could also have persistnet home or remaster the CD and but them in ~/.xinitrc or /etc/skel/.xinitrc respectively, and they'd run when you boot to text mode, as soon as you run the command startx to launch your desktop of choice as specifed by the first line of .xinitrc.

There are no default passwords and knoppix can sudo almost anything. In kde's autostart they will run as knoppix. In etc/rc.d's they'll run as root unless you su -c knoppix the commands within the scripts.