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.
I hope I'm not boring (or irritating) people with my incessant questions. I'm just trying to get as quick a hold of this as I can so that I can get to being a bit more productive. My question is one, primarily of curiousity, but also for general-purpose info.
What is the exact order of the scripts called for a RedHat 7.3 (SysV init) startup procedure?
My question leads into another one that I've been trying to solve. In /etc/rc.d/rc.sysinit I see the following lines:
# Set the path
by the time init gets around to calling /etc/profile then the paths /sbin and /usr/sbin have been "deleted" from the PATH. I understand these aren't needed for anyone other than root really, but for me, the more important question is:
WHERE is this change occurring between rc.sysinit and /etc/profile???
The init procedure has to be doing something like:
Change runlevel to 5 (X11)
. SOMETHING HAPPENS HERE
. (because PATH is changed)
. SOME MORE HERE
(where user is the current user)
Any help with all of this would be MUCH appreciated.
Track it from /etc/rc.sysinit -> /etc/inittab -> /etc/rc?.d/
question mark stands for a runlevel you are booting into (just substitute with a number that corresponds to your runlevel). After its done with all the scripts in the particular runlevel that start with S - boot sequence proceeds to login prompt - where you log in and /etc/profile -> /etc/bashrc -> ~/.bash_profile + ~/.bashrc