Re: Compiling Kernel on FC2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gain Paolo Mureddu wrote:
> Yeah, all that I do as root, otherwise I couldn't wirte to the 
> linux-2.6.<insert_version_here> under /usr/src ;)

/usr/src doesn't have to be root-only: it's perfectly permissible to
create a group (say "compile" or "wheel") and chmod /usr/src so that the
group has write access. Then put a normal (trusted) user and root into
the group.

Then you can untar, configure and compile under /usr/src as a normal
user, and only have to become root to do the installation.

I'd call this better practice than doing everything as root, and it's
more or less what I do.

James.

-- 
James Wilkinson       | "Luck is my middle name," said Rincewind,
Exeter    Devon    UK | indistinctly. "Mind you, my first name is Bad."
E-mail address: james |     -- Terry Pratchett, Interesting Times
@westexe.demon.co.uk  | 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux