[scponly] when do I, and when do I not, use the "/./" syntax
?
Moti Levy
moti at flncs.com
Tue Dec 20 16:06:26 EST 2005
/./ is used to change the default directory the user logs into at login
time .
for example , if you chrooted your users then they probably only have
one writable directory , say its called /incoming .
without /./ if they login they will be under /home/user
with /./incoming the will be logged in under /home/user/incoming
Moti
user wrote:
> I have successfully set up scponly. Specifically, I set up scponlyc
> chroot shell, and built a chroot tree in /home.
>
> I then set every users home directory to /home, and set their scponlyc
> chroot target as /home/(username).
>
> I believe I have tested it thoroughly - all users do indeed seem to be
> chrooted into /home/(username) and do not seem to be able to access
> anything outside of their chroot.
>
> However, I notice in documentation, and on this mailing list, the use of
> the standard "/./" placeholder for chroot paths ... as you can see, I do
> not have that in my home-path for any of my users. Further, in other
> tests when I had deeper directory paths than simply "/home", I still did
> not make use of "/./" ... however, everything worked properly and I
> noticed no problems.
>
> So, when do I need to use "/./", and when is it not necessary (and is my
> implementation one of the ones where it is not necessary, or _should I_ be
> using it ?)
>
> Thanks.
>
>
> _______________________________________________
> scponly mailing list
> scponly at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/scponly
More information about the scponly
mailing list