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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello again. Have got few questions I need solution to. First, am trying to rename a service name. Cause my runlevel starts alphabetically, and I know all I have to do is to change the alphabet to a more early alphabet I tried using "rename" command, that didn't work. So I tried using vim to edit The service and was told modifiable is off. So how do I edit or change the name of a service, secondly, what is meant by the "modifiable" and how do I turn it on
Thanks as usual.
There are distinct differences between the various Linux distros so in order to be able to provide you a correct answer you'll need to tell us what distro and version you're using. If you just want to change the order in which a service start upon boot, like you indicate, depending on the run level, then you don't need to rename the service itself. If you look at rcX.d in /etc/ (Debian based) or /etc/rc.d/rcX.d (RHEL) you'll notice that the links there begin with K to stop and S to start in that runlevel (X = the runlevel number you want to change). Just recreate the links with the appropiate command (chkconfig, update-rc.d or whatever applies) and you're set. When you use a more recent distro (Debian Squeeze) changes are you're using dependency based boot sequence. Latest Ubuntus for as far as I know use Upstart.
So you see there are lots of possibilities. Depending on what you use the above apply or not. Let us know what you use as distro and version and we'll be able to help you more direct.
Hello y'all, and to ericTRA, was my bad forgot to include my distro after writing my post. Yeah, know bout the rcX.d but and use the chkconfig command but still can't seem the recreate the link as you said would like you to make it more simpler , and my distro is redhat Linux. Would be looking forward to hearing from you. Thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.