1 |
On 09/11/2010 11:35 PM, Dale wrote: |
2 |
> Alan McKinnon wrote: |
3 |
>> Apparently, though unproven, at 11:46 on Saturday 11 September 2010, |
4 |
>> Albert |
5 |
>> Hopkins did opine thusly: |
6 |
>> |
7 |
>>> On Sat, 2010-09-11 at 10:24 +0200, Stéphane Guedon wrote: |
8 |
>>>> few months ago, I read linux kernel in a nutschell(sic), and the author |
9 |
>>>> wrote we shouldn't do kernel operations (config and build) as root. |
10 |
>>> I call bullsh*t. I've been compiling kernels for 17 years and for the |
11 |
>>> most part have done it as root without any problems. |
12 |
>> Same here. |
13 |
>> |
14 |
>> The root user (sometimes portage) creates /usr/src/linux-* |
15 |
>> |
16 |
>> Someone tell me again exactly how user alan is supposed to build those |
17 |
>> sources? |
18 |
>> |
19 |
> |
20 |
> If they are accessible by a user, couldn't a user then edit or add |
21 |
> something that would then cause a security problem? If they can edit |
22 |
> them and no one know it, then root comes along and builds a shiney new |
23 |
> kernel with a really nice security hole. |
24 |
> |
25 |
> Glad only root can get to the sources. ;-) |
26 |
|
27 |
No, any user can't edit them; only the user you assign the files to. If |
28 |
you assign them to root, only root can edit them. If you assign them to |
29 |
kerneluser, only kerneluser can edit them. |
30 |
|
31 |
This is Unix 101 :) |