[ELDK] Permissions on /root directory keep ssh from working properly

Dave Rensberger David.Rensberger at ambientcorp.com
Thu Nov 6 16:26:03 CET 2008


Hi,

 

I've discovered something that I'd consider a minor bug in the default
denx4.2 (maybe other versions too) distribution's root filesystem.   It
creates the /root directory with permissions of 775, which prevents
dropbear from working properly if you want to set up the ssh server to
allow clients to log in using authorized keys.  ssh considers it a
security hole if the directory containing the authorized keys is
writable by anyone other than the user.

 

I'm not sure if this should be fixed by simply making the default
permissions on the /root directory 755, or if this would more
appropriately be done by the dropbear RPM during installation, since
it's an ssh specific problem.  Maybe it would even be adequate to simply
add a line to dropbear's README explaining that permissions of the user
directory must be changed when using authorized keys.

 

--Dave



More information about the eldk mailing list