summaryrefslogtreecommitdiffstats
path: root/src/config/SSSDConfig/__init__.py.in
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-08-05 13:52:48 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-10-22 15:44:13 +0200
commita10ac1d0a7210def232205a48c53a075930e82f6 (patch)
tree4067620172ce1ff8a1849786a2ecac9d7fcf4a04 /src/config/SSSDConfig/__init__.py.in
parentfa24dabfd480e1ce346009336c7979ab59520c44 (diff)
downloadsssd-a10ac1d0a7210def232205a48c53a075930e82f6.tar.gz
sssd-a10ac1d0a7210def232205a48c53a075930e82f6.tar.xz
sssd-a10ac1d0a7210def232205a48c53a075930e82f6.zip
SSSD: Load a user to run a service as from configuration
Related: https://fedorahosted.org/sssd/ticket/2370 Adds a option, user to run as, that is specified in the [sssd] section. When this option is specified, SSSD will run as this user and his private group. When these are not specified, SSSD will run as the configure-time user and group (usually root). Currently all services and providers are started as root. There is a temporary svc_supported_as_nonroot() function that returns true for a service if that service runs and was tested as nonroot and false otherwise. Currently this function always returns false, but will be amended in future patches. Reviewed-by: Pavel Reichl <preichl@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'src/config/SSSDConfig/__init__.py.in')
-rw-r--r--src/config/SSSDConfig/__init__.py.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config/SSSDConfig/__init__.py.in b/src/config/SSSDConfig/__init__.py.in
index 6c9553086..b4560ea2b 100644
--- a/src/config/SSSDConfig/__init__.py.in
+++ b/src/config/SSSDConfig/__init__.py.in
@@ -56,6 +56,7 @@ option_strings = {
'full_name_format' : _('Printf-compatible format for displaying fully-qualified names'),
'krb5_rcache_dir' : _('Directory on the filesystem where SSSD should store Kerberos replay cache files.'),
'default_domain_suffix' : _('Domain to add to names without a domain component.'),
+ 'user' : _('The user to drop privileges to'),
# [nss]
'enum_cache_timeout' : _('Enumeration cache timeout length (seconds)'),