Greetings.
I am having some difficulty setting up users so that they do not see the data that other users see.
I am setting up an SFTP server and I have installed the "User Remote Access Panel". I have created a group,
a test user belonging to that group, an ibay with no FTP access, and read/write to the group that was created.
In User Remote Access, I have configured this user to have /bin/bash for Shell access.
I cannot log in without this set, which makes no sense to me.
SUDO access is not enabled.
RSSH+VPN access is enabled (again, makes no sense to me since it wont log in with this)
Now, next confusing thing is the Select Chroot Path (which is always blank, when I modify a user).
I choose the drop down for the ibay that I have created with the folder /files under that.
The Chroot path /home/e-smith/files/ibays/<my ibay>/files is selected here.
After saving these settings and logging on as the created user, I was still sent to his real home folder.
I then changed the home path by using the command usermod <username> -d <path I want to user to see on SFTP login>
Now I come to the part that I cannot "fix" and need help.
I was under the impression that a person could be "jailed" or be forced to see only his data and the folders beneath.
This is not happening for this test user. This person can cd to /. I want this user to be jailed and not see anything
other than a folder and sub folders that I specify.
Any help on this would be greatly appreciated,
Greg