Okay. I did not dig deep enough before asking a stupid question. . .
Originally Posted by SteveInTallyFL
RHEL AS4, vsftpd running. local_enable=YES and local_root set to alternate location than /home/$USER. When user logs in with an FTP client the local_root takes effect. When the user logs in with an SFTP client local_root does NOT take effect. What am I missing in the config to get the desired behavior when an sftp client logs in?
So now I am looking into sshd_config to figure out how to make an sftp subsystem that effectively puts all client connections into the equivalent of an alternative ftp>local_root=/not /home/$USER
. This does not seem to be a chroot, but I guess I do not understand chroot enough!
Also, I have given this group of local users (using password authentication on the SSH) no login shell. Would I be better served to just change their home dir to the location I want to send them for sftp?