[arch-general] makepkg running as root

Jan de Groot jan at jgc.homeip.net
Tue Jan 22 02:36:54 EST 2008


> -----Oorspronkelijk bericht-----
> Van: arch-general-bounces at archlinux.org [mailto:arch-general-
> bounces at archlinux.org] Namens Dan McGee
> Verzonden: dinsdag 22 januari 2008 4:52
> Aan: General Discusson about Arch Linux
> Onderwerp: Re: [arch-general] makepkg running as root
> 
> Just think of what this would do as root in a PKGBUILD:
> 
> build() {
>   echo "You've been pwned!!!"
>   rm -rf /
> }
> 

Be sure to check .install files too. They can also contain rm -rf / in post_install, those are executed by root when you install the package ;)





More information about the arch-general mailing list