Problems with chroot & SSH
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 |
i would strongly think that your sudoers file hasn't been setup correctly. can you manually run chroot via sudo as that user?
|
Ehm how do you mean run it manually? :)
I have added this line in /etc/sudoers testuser* ALL= NOPASSWD: /usr/sbin/chroot /home/testuser /bin/su - testuser* |
All times are GMT -5. The time now is 03:44 AM. |