>> > 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 Does that accomplish what you are looking for? Christopher Fisk -- Bender: "Is he dumb or just ugly?" -- [EMAIL PROTECTED] mailing list