Hello, im trying to set up an chrooted ssh-account, so that the user only will be able to browse his homedir when logging in using ssh.
I followed this tutorial
http://www.tjw.org/chroot-login-HOWTO/, but when i try to ssh i get this
Code:
maggot@~: ssh -l testuser localhost
testuser@localhost's password:
Last login: Tue Mar 22 00:27:29 2005
Linux 2.6.10.
Password:
Sorry, user testuser is not allowed to execute '/usr/sbin/chroot /home/pwnd /bin/su testuser' as root on maggot.
Connection to localhost closed.
maggot@~:
I followed the tutorial step by step, i even tried it twice, still can't get it to work :\ i end up with the same error.