Christopher Fisk wrote:

some users on my server have SSH access to the machine, but I don't
want them to be able to leave their home directories (ee.
/home/userXYZ).

What is the "best" way to implement this, does anybody know?
Greetings and TIA, Matthias



# adduser luser # ln -s /bin/bash /bin/rbash # echo "/bin/rbash" >> /etc/shells # chsh -s /bin/rbash luser # cd ~luser # su luser $

and then:

$ cd /
rbash: cd: restricted


rbash is NOT working for me on Gentoo ... (on RH 7.3 it worx)
I have done everything as above, but rbash worx normally/without any restrictions ...
is it a bug or something else should be done ?


noro



--
[EMAIL PROTECTED] mailing list



Reply via email to