autologin as root in multiple distro's
I am posting this to the newbie section since I am new to Linux. Although I have almost completed reading a Linux book I can't quite figure out how to get started on my problem.
I need to write a script/program to test out a program my company is developing in Linux. When complete, the program will reboot the system. I need to stress test the program by running it, rebooting the system, running the program again and checking status. This has to support multiple linux distributions but not necessarily the GUI managers (KDE, gnome) since the program will have a silent command line option but it would be nice if i could autologin into KDE or Gnome and run the script.
Because of the memory locations the program accesses I need to run it as root. How can I setup multiple distributions of Linux so that it boots, runs the program as root, and then reboots and does the same thing over again? I need to do this for Red hat 9.0 and Suse 8.2 at the very least.
Thanks!
Eric
|