Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm using RH AS 3.0 at the moment. My intention is to automate a testing process. For this I'll need to automate the logon process and the kickoff of a few scripts.
I guess I have three questions.
1) I'm able to automatically logon as a standard user using one of RH's options but is there a way to logon automatically as root? I won't have to logon as root if #2 can be answered, but I would rather do it this way.
2) I have some proprietary programs that only run under root. I tried using the sticky bit on these but I guess that I don't understand that concept properly as they still won't run.
3) If i wanted to cascade a few scripts--after one finishes, the next one can go. Do I just list them in the /init/rc.d/local directory or is there a cleaner way?
well, if you want the programs to start when your computer is finished booting (before X / GUI), you can *usually* add them (each on a separate line) to /etc/rc.d/rc.local (or wherever your version of that is located at -- theres usually a file like that where you can put in your commands, i'm not sure where that is exactly in RH. /etc/init.d/rc.d/rc.local maybe? )
Or, if you want them to start when your X / GUI loads, you can add them, one command per line, to ~/.xinitrc