Answer the question
In order to leave comments, you need to log in
Limited shell?
By what means do hosters close the user in his home directory when accessed via ssh? Chroot, rbash or something else?
I want to understand how to block 100 users in the home directory without the ability to see other users' directories and without the ability to run binaries.
Answer the question
In order to leave comments, you need to log in
in timeweb I could view the config files. The opportunity appeared like this: cd ... && cd ...
I wrote to the support that they had a hole, but they replied that it would not be possible to completely block access. Important configs were unreadable.
make /home on a separate partition and mount it with noexec
chmod 750 /home /home/*
http://www.opennet.ru/opennews/art.shtml?num=14331
http://www.opennet.ru/base/sec/ssh_chroot.txt.html
Not?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question