[Buildroot] [PATCH] system/permissions: make /root group+others non-writable
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Jun 23 08:08:02 UTC 2013
Dear Yann E. MORIN,
On Sun, 23 Jun 2013 00:22:32 +0200, Yann E. MORIN wrote:
> From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
>
> Upon logging, dropbear whines if /root is group- or others-writable, and
> key-based authentication is attempted, reverting to password-based
> authentication:
> dropbear[149]: /root must be owned by user or root, and not writable by others
> dropbear[149]: Password auth succeeded for 'root' from 192.168.127.35:41566
>
> On my system, /root was 770. Changing to 700 fixed the issue.
>
> Having /root 700 is a good idea, anyway.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Acked-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list