[scponly] Permission denied

Chris de Vidal Chris at deVidal.tv
Fri Apr 1 09:36:44 EST 2005


Thanks for responding!


Paul Hyder said this while chewing gum:
> The other thing to check is the user entry in the top level
> /etc/password file.  The users home directory needs to match
> the chroot jail, mostly there needs to be a double slash
> in the right place (probably something like "/portal//..."
> or "/portal/{username}//..." where your jail tree is built
> under the "//".)

Hm.  make jail asked me for a path for the scponly username and I gave it
/portal.  If it needs two trailing slashes perhaps the Makefile should be
patched.

Anyway I tried usermod -d /portal// scponly and grepped /etc/passwd:
scponly:x:1005:100::/portal//:/usr/sbin/scponlyc

Still got permission denied.  Bummer.


> BTW: It would also help to know your OS.

That info was in my first email (seems it got cut off); it's Debian 3.0
(Woody).


Thanks again for your response.

CD

Have you ever lied, no matter the color?  I have.  Have you ever stolen
anything, no matter the value?  I have.  Have you ever lusted?  I have. 
Jesus said whoever looks at a woman with lustful intent has already
committed adultery with her in his heart.

We are lying, thieving, adulterers at heart and will face judgement one day.

There is good news for us!  "God shows his love for us in that while we
were still sinners, Christ died for us.  Since, therefore, we have now
been justified by his blood, much more shall we be saved by him from the
wrath of God." (Romans 5:8,9)



More information about the scponly mailing list