2014-09-30 09:49:07 +00:00
|
|
|
from django.conf import settings
|
|
|
|
|
|
|
|
from django.utils.translation import ugettext, ugettext_lazy as _
|
|
|
|
|
|
|
|
|
|
|
|
USERS_SHELLS = getattr(settings, 'USERS_SHELLS', (
|
2014-09-30 10:20:11 +00:00
|
|
|
('/bin/false', _("No shell, FTP only")),
|
|
|
|
('/bin/rsync', _("No shell, SFTP/RSYNC only")),
|
|
|
|
('/bin/bash', "/bin/bash"),
|
|
|
|
('/bin/sh', "/bin/sh"),
|
2014-09-30 09:49:07 +00:00
|
|
|
))
|
|
|
|
|
|
|
|
USERS_DEFAULT_SHELL = getattr(settings, 'USERS_DEFAULT_SHELL', '/bin/false')
|