Re: Why is it dangerous to run makepkg as root?

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



On Sat, May 17, 2014 at 5:40 AM, Roland Tapken <ml@xxxxxxxxxxxxx> wrote:
> My first guess was that the PKGBUILD usually comes from an untrusted source and
> may contain code to attack my system (copy personal data or install a rootkit
> or something like that).

I think that the point isn't that you're not supposed to run makepkg
as root to protect against *malicious* packages, but rather to protect
aganst *badly written* ones. There are of course many ways that a
malicious package could get around that to hose your system, but a
simple badly written package that spews files directly into /usr
instead of into $pkgdir is easily thwarted by not having the
permissions necessary to do so.

Regards,
~Celti


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux