I have a SSH Linux machine that is attached to my Active Directory domain. I am using Likewise in order to attach this machine to AD.
I can SSH into the Linux machine using my AD account and I want to know how to default the home directory to a specific directory and chroot the users to this directory.
In the sshd_config, I know to chroot local users, you have to include the following at the end
of the file
Match group GROUP-NAME
However; when I attempted to migrate to using AD logins, I found out that you have
to modify that line of code to:
Match group domain^users
But, this does not seem to chroot the users and they browse around the system.
If anyone has an idea on how to chroot AD users then please let me know.