In my config file, I have
local_root=/home/$USER
but $USER doesn't seem to give me the user's login name. It's taking it as literally $USER when I attempt to login and fails to change to that directory.
|
In my config file, I have local_root=/home/$USER but $USER doesn't seem to give me the user's login name. It's taking it as literally $USER when I attempt to login and fails to change to that directory.
| |||||
feedback
|
|
It sounds like you are trying to chroot users into their home directories; try this in
I found it a bit unintuitive that the sample config for CentOS (quoted above) refers to Update: to explain a bit more: If If So to chroot by default (which sounded like what you were trying to accomplish), set Note that you do not have to list users without FTP access in this file in either case. | |||||
feedback
|