[Buildroot] [PATCH] system/permissions: /etc/random-seed must be mode 600

Jérôme Pouiller jezz at sysmic.org
Thu Nov 20 21:27:11 UTC 2014


On Thursday 20 November 2014 18:08:14 Gustavo Zacarias wrote:
> Otherwise it's a big security risk.
> 
> Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
> ---
>  system/device_table.txt | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/system/device_table.txt b/system/device_table.txt
> index e15412d..8e7dbd2 100644
> --- a/system/device_table.txt
> +++ b/system/device_table.txt
> @@ -11,6 +11,7 @@
>  /etc					d	755	0	0	-	-	-	-	-
>  /root					d	700	0	0	-	-	-	-	-
>  /var/www				d	755	33	33	-	-	-	-	-
> +/etc/random-seed			f	600	0	0	-	-	-	-	-

Just curiosity, does it make sense to provide a random seed? I mean, it is not 
very random, is it?

-- 
Jérôme Pouiller, Sysmic
Embedded Linux specialist
http://www.sysmic.fr



More information about the buildroot mailing list