Inital commit
This commit is contained in:
36
config/grequalizer-ftp.conf
Normal file
36
config/grequalizer-ftp.conf
Normal file
@@ -0,0 +1,36 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user