Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Up until recently I have been adding things to my startup scripts simply appending them to my /etc/rc.d/rc.local file. I realize now that this is not the best way to go about it. As I understand it, if you have a script in /etc/rc.d/init.d, then you can simply link it into the correct runlevel directory (/etc/rc.d/rc#.d where # is the runlevel) and name the link S##<name> where ## is a two-digit number determining the order in which the scripts are run in that runlevel, the 'S' indicates that it will be run with the "START" (i.e. service <name> START) and <name>, of course, is the name of the service.
So, I'm trying this for the first time. It tried migrating my smbd and nmbd daemon starts to runlevel 3. So, I had the following two lines in my /etc/rc.d/rc.local file:
I remarked those out and linked the /etc/rc.d/init.d/smb script into the /etc/rc.d/rc3.d directory with the following commands:
I restarted the machine and the services were not running. What should I check? Am I completely misunderstanding this? I know that Redhat startups are pretty notorious for having more than one copy of the same startup files (like ifcfg-eth#) and having only one of them count. Is this another one of those cases?
(Oh, and guess since I haven't mentioned it yet, I run RedHat 9)