diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-05-17 16:28:15 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-10-26 10:29:37 -0400 |
commit | b8f94ca9d19384139c3ceee2f8ff918556f9790c (patch) | |
tree | 8373470d0e186ccec279476803376a7b03e9d03a /src/conf_macros.m4 | |
parent | d0b2e0675ea5c65854e81deca14469cb89e57be8 (diff) | |
download | sssd-b8f94ca9d19384139c3ceee2f8ff918556f9790c.tar.gz sssd-b8f94ca9d19384139c3ceee2f8ff918556f9790c.tar.xz sssd-b8f94ca9d19384139c3ceee2f8ff918556f9790c.zip |
Support overriding attribute values locally
Add a new option to override primary GID number
https://fedorahosted.org/sssd/ticket/742
Add a new option to override home directory value
https://fedorahosted.org/sssd/ticket/551
Add new options to override shell value
https://fedorahosted.org/sssd/ticket/742
Conflicts:
src/conf_macros.m4
Diffstat (limited to 'src/conf_macros.m4')
-rw-r--r-- | src/conf_macros.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4 index d759c48e9..8ead0b29b 100644 --- a/src/conf_macros.m4 +++ b/src/conf_macros.m4 @@ -251,3 +251,17 @@ AC_DEFUN([WITH_LIBNL], AC_SUBST(BUILD_LIBNL) fi ]) + +AC_DEFUN([WITH_NOLOGIN_SHELL], + [ AC_ARG_WITH([nologin-shell], + [AC_HELP_STRING([--with-nologin-shell=PATH], + [The shell used to deny access to users [/sbin/nologin]] + ) + ] + ) + nologin_shell="/sbin/nologin" + if test x"$with_nologin_shell" != x; then + nologin_shell=$with_nologin_shell + fi + AC_DEFINE_UNQUOTED(NOLOGIN_SHELL, "$nologin_shell", [The shell used to deny access to users]) + ]) |