On Thu, 10 Jul 2003 13:04, you wrote: > On Thu, Jul 10, 2003 at 12:30:18PM +1200, C Falconer wrote: > > On Thu, 2003-07-10 at 12:00, Matthew Gregan wrote: > > > 3. The above line assumes the kernel and modules are built as root. > > > This is needless. You should build the kernel and modules under a > > > non-privileged user and use root _only_ to install the kernel and > > > modules. > > > > Whats wrong with that? > > It's really, really simple: > > Do not run anything as root that does not need root privileges. > > It's a simple rule to follow most of the time, so there is no reason not > to adhere to it. > > Off the top of my head, here's one example reason why you shouldn't > compile the kernel as root: if the compile fills your filesystem, it > will fill the whole filesystem. And therefore crash your machine.
> If you ran the compile as an > unprivileged user, the compile process would only be able to fill the > filesystem up to the point where any additional space is reserved for > root (which is 10% by default, and specified by the -m option to mkfs). Matthew: You are obviously one of the more knowledgeble people on the list. Would you like to give the talk, on (re)-building your Linux kernel? Alternatively how about this as the subject for the next CLUG meeting? -- C. S.
