diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-05-17 16:28:15 +0200 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-06-02 15:32:30 -0400 |
commit | 28dab46aaa2c0d65160492f1d9d7c88652d8c714 (patch) | |
tree | cf11aa59b6ef8ab49cdb39dcdb22a036e9e65de5 /src/conf_macros.m4 | |
parent | 807402e4e9ac43d0fe7a7533698102a74e23844b (diff) | |
download | sssd-28dab46aaa2c0d65160492f1d9d7c88652d8c714.tar.gz sssd-28dab46aaa2c0d65160492f1d9d7c88652d8c714.tar.xz sssd-28dab46aaa2c0d65160492f1d9d7c88652d8c714.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]) + ]) |