A=chroot_local_user,
B=chroot_list_enable,
chroot_list內容為"midas",
"heidi"為另一個不列入chroot_list的有效帳號
實驗如下:
| midas | heidi
-------------------------------------------
#A(mark A), B=YES | X | O
-------------------------------------------
A=YES, B=YES | O | X
-------------------------------------------
A=YES, #B | X | X
-------------------------------------------
#A, #B | O | O
結論:
If activated, you may provide a list of local users who are placed in a chroot() jail in their home directory upon login. The meaning is slightly
different if chroot_local_user is set to YES. In this case, the list becomes a list of users which are NOT to be placed in a chroot() jail.