Author: Mike Raymer
Date: 28-10-01 19:11
(posted by Dan Langille)
In your article, you talked about how to get your name in your
kernel when performing a uname -a. I've played around with
this as well and in fact, you can change quite a bit of the text.
You just need to edit the right file prior to compiling your kernel.
After editing my kernel file, named KERNEL, and doing the
config KERNEL, change directory to ../../compile/KERNEL.
Once there, use vi, or your editor of choice, and make your
changes to the file vers.c You can edit the name (as you were
doing), the version number and even the OS name (why would
anyone want to hide the fact they run the best operating system
available?). Then proceed with the remainder of compiling your
kernel, make depend && make && make install.
Anyway, thought this might tie into your article and allow you to
customize some aspects of the system output.
If I'm mistaken in what you were attempting to do, then I apologize for not reading the article thoroughly
|
|