2014-05-08 16:59:35 +00:00
|
|
|
from django.conf import settings
|
|
|
|
|
2014-09-29 14:45:51 +00:00
|
|
|
from django.utils.translation import ugettext, ugettext_lazy as _
|
|
|
|
|
2014-05-08 16:59:35 +00:00
|
|
|
|
|
|
|
USERS_SYSTEMUSER_HOME = getattr(settings, 'USERES_SYSTEMUSER_HOME', '/home/%(username)s')
|
2014-07-11 14:48:46 +00:00
|
|
|
|
|
|
|
USERS_FTP_LOG_PATH = getattr(settings, 'USERS_FTP_LOG_PATH', '/var/log/vsftpd.log')
|
2014-09-29 14:45:51 +00:00
|
|
|
|
|
|
|
USERS_SHELLS = getattr(settings, 'USERS_SHELLS', (
|
|
|
|
('/bin/false', _("FTP/sFTP only")),
|
|
|
|
('/bin/rsync', _("rsync shell")),
|
|
|
|
('/bin/bash', "Bash"),
|
|
|
|
))
|
|
|
|
|
|
|
|
USERS_DEFAULT_SHELL = getattr(settings, 'USERS_DEFAULT_SHELL', '/bin/false')
|