extends |
Module_Skeleton |
---|---|
implements |
Hookable, Reactive |
Provides common functionality associated with vsFTPd
Methods | ||
---|---|---|
public
|
__construct()
|
# |
public
|
jail_user($user, $dir = '')
|
# |
public
|
set_option($user, $c_directive, $c_val = null)
|
# |
public
|
deny_user($user)
|
# |
public
|
permit_user($user)
|
# |
public
|
_edit_user(string $user, string $usernew, array $pwd)
|
# |
public
|
user_permitted($user = null)
|
# |
public
|
user_enabled($user = null)
|
# |
public
|
has_configuration($user)
|
# |
public
|
get_option($user, $c_directive)
|
# |
public
|
_reload(string $what = null, array $args = [])
|
# |
public
|
_delete_user(string $user)
|
# |
public
|
user_jailed($user)
|
# |
public
|
unjail_user($user)
|
# |
public
|
_create()
|
# |
public
|
enabled(): bool
|
# |
public
|
_verify_conf(ConfigurationContext $ctx): bool
|
# |
public
|
_delete()
|
# |
public
|
_edit()
|
# |
public
|
_create_user(string $user)
|
# |
Constants | ||
---|---|---|
public
|
DEPENDENCY_MAP = ['siteinfo', 'users']
|
# |
public
|
VSFTPD_CONF_DIR = '/etc/vsftpd'
|
# |
public
|
VSFTPD_CHROOT_FILE = '/etc/vsftpd.chroot_list'
|
# |
public
|
PAM_SVC_NAME = 'ftp'
|
# |