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

Phil Terry pterry at vmetro.com
Mon Nov 10 18:19:47 CET 2008


On Thursday 06 November 2008 01:07:38 pm Wolfgang Denk wrote:
> Dear "Dave Rensberger",
>
> In message 
<B7BC4CB64CA090478F283BA589292737578862 at abtg-mail.ambientcorp.com> you wrote:
> > Yes, I mean the user keys.   In a user-less system (i.e. everything is
> > root, which I suspect is quite common in DENX as in other embedded linux
> > systems), this doesn't work with the default permissions of 775 on
> > /root.
>
> If the user is "root", then the files should go into the "/root/.ssh"
> directory.
>
And they do but if /root is writable then you could delete/rename /root/.ssh 
and replace it with your own directory and files etc. A great big security 
hole and hence the directory containing .ssh must not be world writable.

> Best regards,
>
> Wolfgang Denk





More information about the eldk mailing list