logo       

help with dropbear config: msg#00266

misc.nslu2.linux

Subject: help with dropbear config



Sorry... I had posted this in nslu2-general by mistake. I'm looking
for some advice here...

----------------------------------------------------------------------

How do I fix this? I tried setting the home directory of user "sha" to
/share/hdd/data/sha with (owner=sha, group=sha), but I still could not
log in. I looked at the ownership of /share and it is set to
owner=amdin, group=everyone.

Where should I be putting the home directory?

cheers,
S.

--- In nslu2-general-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx, Rod Whitby
<list.yahoo@xxxx>
wrote:
> The problem is permissions. Linksys sets the permissions on /share
> too permissive for dropbear to accept.
>
> You will need to put your .ssh directory under some other path where
> all the parent directories up to / are owned either by the user in
> question, or by root (with no group or world write access).
>
> -- Rod
>
> On Thu, 10 Mar 2005 02:23:26 -0000, juggler_munier
> <juggler_munier@xxxx> wrote:
> >
> > I have managed to get dropbear to work for "root", but cannot for
a
> > user created through the web-interface.
> >
> > I followed UpgradeBusyBoxUsinIpkg and did the following:
> > in /etc/shells
> > /opt/bin/sh
> > /bin/sh
> >
> > in /etc/passwd
> > ...
> > sha:XXXXX:2000:501::/share/hdd/data/public:/opt/bin/sh
> >
> > in /etc/profile
> > PATH=/opt/bin:${PATH}
> >
> >
> > I then followed the UseDropBearForRemoteAccess and created the
> > following /share/hdd/data/public/.ssh/authorized_keys
> >
> >
> > However, I am unable to log in as user "sha". Please help -- I am
a
> > newbie, so please be gentle.






[ Moderator Note: All static information is slowly moving to the Wiki at
http://www.nslu2-linux.org ]


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise