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.
I'm wondering if I could delete file named config-2.6.2xxx in /boot folder?
I believe this config file is not needed in order computer to boot. The reason I'm considering this is to prevent anybody else from recompiling the kernel with settings of the current kernel.
So, is it safe to delete config-2.xxxx file in /boot directory?
I'm wondering if I could delete file named config-2.6.2xxx in /boot folder?
I believe this config file is not needed in order computer to boot. The reason I'm considering this is to prevent anybody else from recompiling the kernel with settings of the current kernel.
So, is it safe to delete config-2.xxxx file in /boot directory?
Thank you.
In general that is not really smart. If you even get certain module updates, even for the same kernel, they need to be compiled against the current kernel config and a missing config would break the update. On my system that would be critical, on yours it may or may not depending upon your hardware.
How exactly would anyone get enough access onto your system to compile and install a kernel?
Hello wpeckham and thank you for the reply.
Of course no one would be able to gain access and recompile kernel on my system. I asked this question trying "to get into shoes" of a supplier that wants to supply system in which adding new HW and/or installing new devices are prohibited.
I just wondered if this config-2.xxxx file in /boot is really needed for everyday machine use and I guess it's not. It is needed only if one wants to add a new device and install new drivers for which it must recompile kernel.
Hello wpeckham and thank you for the reply.
Of course no one would be able to gain access and recompile kernel on my system. I asked this question trying "to get into shoes" of a supplier that wants to supply system in which adding new HW and/or installing new devices are prohibited.
I just wondered if this config-2.xxxx file in /boot is really needed for everyday machine use and I guess it's not. It is needed only if one wants to add a new device and install new drivers for which it must recompile kernel.
This sounds wrong in many ways.
Deleting the config is not a very strong security "protection". Plus someone who builds products based on the (GPL-licensed) Linux kernel should empower their users to modify the product rather than trying to take this freedom away from them.
This sounds wrong in many ways.
Deleting the config is not a very strong security "protection". Plus someone who builds products based on the (GPL-licensed) Linux kernel should empower their users to modify the product rather than trying to take this freedom away from them.
I agree. If you really want a machine difficult to change, there are embedded hardware techniques that would serve far better.
Also there are software packages that expect certain kernel features. If you are having trouble with one of those and you ask for help, you are going to asked: "Do you have so-and-so activated in your kernel? And is it built-in or a module?" You'll look a bit silly if you can't answer because you threw away the configuration file.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.