37 lines
544 B
Plaintext
37 lines
544 B
Plaintext
# Variables: $u: login name, $h: users home, $g: users primary group name
|
|
[main]
|
|
home_path = /backups/ftp/$u
|
|
simulate = no
|
|
limit_to_primary_group = yes
|
|
primary_group_name = ftpusers
|
|
minimum_users_count = 1
|
|
|
|
[home_existence]
|
|
check = yes
|
|
correct = yes
|
|
|
|
[home_permissions]
|
|
check = yes
|
|
correct = yes
|
|
octal_permissions = 750
|
|
|
|
[home_owner]
|
|
check = yes
|
|
correct = yes
|
|
owner = $u
|
|
|
|
[home_group]
|
|
check = yes
|
|
correct = yes
|
|
group = root
|
|
|
|
[user_home]
|
|
check = yes
|
|
correct = yes
|
|
home_path = /
|
|
|
|
[user_shell]
|
|
check = yes
|
|
correct = yes
|
|
shell = /usr/bin/ftponly
|