DebianThis forum is for the discussion of Debian Linux.
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.
I've wanted to ask this for some time, but never actually got to it... well better now then never
I want to get rid of anything I don't need in my rc2.d (my default), this is how it looks now...
Are you using X?? Because I think that S99rmnologin is necessary to make login in X. As you have gdm I guess so, so I recommend you not to "update-rc.d -f rmnologin remove".
I had some troubles when I decide to clean my rc2.d because I wiped out this service and then an error always was prompted when I tried my login.
If you don't want to share files through your LAN, you can remove nfs services.
If you don't want to RPC a server, you can clean portmap.
If you don't want ssh services (for secure remote access), you can clean ssh.
Probably, the easy way is knowing what services do you want to use.
But you can feel free to experiment with update-rc.d (you know, what happens if I wipe this... )
Actually I don't use update-rc.d, just rename it to start with K...
Well AFAIK, SXXname is just a link to an .sh placed in /etc/init.d/. If you change the name to K, this script will be executed also and your daemon will be started. If you don't want this, just remove the link (it's safe, you are not deleting the .sh) Maybe moving it to another name (not equal to S or K, as K means kills) also works.
update-rc.d facilitate you to accomplish this task, because each service should have its begining and its ending.
Well AFAIK, SXXname is just a link to an .sh placed in /etc/init.d/. If you change the name to K, this script will be executed also and your daemon will be started.
Well, I believe that renaming it to Kxxxx will not start the daemon as K means stop the service... and from what I can see on my system I'm not mistaken...
I got your point, and yes, I think you're write. (it made sense for me when I though it, but with your explanation my reasoning is obviously wrong).
thanks pal!
Yes, but you are right, service should have it's beginning and ending and therefore using update-rc.d is probably the best option. However renaming is perhaps a good way of determining what you don't need.... and then using update-rc.d.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.