- 论坛徽章:
- 0
|
原帖由 shanmin 于 2009-8-31 12:52 发表
这个问题似乎很多很多人问过了,但是我实在是没有找到合适我的方式。
情况是这样,现在验证已经没有问题了,就是用户目录需要每个用户分开。例如user1只能进user1目录,user2只能进user2目录。经过在网上查,几 ...
user_sub_token
This option is useful is conjunction with virtual users. It is used to automatically generate a home directory for each virtual user, based on a template. For example, if the home directory of the real user specified via guest_username is /home/virtual/$USER, and user_sub_token is set to $USER, then when virtual user fred logs in, he will end up (usually chroot()'ed) in the directory /home/virtual/fred. This option also takes affect if local_root contains user_sub_token. |
|