[linux-pam] pam_loginuid: Add syslog message if required auditd is not detected.
by Tomáš Mráz
commit d766637071ab5bb835ea8fc4379d77f5449e249f
Author: Tomas Mraz <tmraz(a)fedoraproject.org>
Date: Thu Sep 24 13:21:40 2015 +0200
pam_loginuid: Add syslog message if required auditd is not detected.
* modules/pam_loginuid/pam_loginuid.c (_pam_loginuid): Add syslog message
if required auditd is not detected.
modules/pam_loginuid/pam_loginuid.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/modules/pam_loginuid/pam_loginuid.c b/modules/pam_loginuid/pam_loginuid.c
index 73c42f9..9a1589e 100644
--- a/modules/pam_loginuid/pam_loginuid.c
+++ b/modules/pam_loginuid/pam_loginuid.c
@@ -234,6 +234,8 @@ _pam_loginuid(pam_handle_t *pamh, int flags UNUSED,
if (require_auditd) {
int rc = check_auditd();
+ if (rc != PAM_SUCCESS)
+ pam_syslog(pamh, LOG_ERR, "required running auditd not detected");
return rc != PAM_SUCCESS ? rc : ret;
} else
#endif
8 years, 7 months
[linux-pam] Allow links to be used instead of w3m for documentation regeneration.
by Tomáš Mráz
commit caeae5bc84045df20f9e4fddcaefddde6209f6cd
Author: Tomas Mraz <tmraz(a)fedoraproject.org>
Date: Fri Sep 4 10:35:45 2015 +0200
Allow links to be used instead of w3m for documentation regeneration.
* configure.ac: If w3m is not found check for links.
configure.ac | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 08e4530..f33b959 100644
--- a/configure.ac
+++ b/configure.ac
@@ -568,7 +568,12 @@ AC_PATH_PROG([BROWSER], [w3m])
if test ! -z "$BROWSER"; then
BROWSER="$BROWSER -T text/html -dump"
else
- enable_docu=no
+ AC_PATH_PROG([BROWSER], [links])
+ if test ! -z "$BROWSER"; then
+ BROWSER="$BROWSER -no-numbering -no-references -dump"
+ else
+ enable_docu=no
+ fi
fi
AC_PATH_PROG([FO2PDF], [fop])
8 years, 7 months
[linux-pam] Add missing space in pam_misc_setenv man page.
by Tomáš Mráz
commit d95c7db780967f029aa30163d6cff372c0b1646e
Author: Tomas Mraz <tmraz(a)fedoraproject.org>
Date: Fri Sep 4 09:58:59 2015 +0200
Add missing space in pam_misc_setenv man page.
* doc/man/pam_misc_setenv.3.xml: Add a missing space.
doc/man/pam_misc_setenv.3.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/doc/man/pam_misc_setenv.3.xml b/doc/man/pam_misc_setenv.3.xml
index fdc8f33..7e61a8d 100644
--- a/doc/man/pam_misc_setenv.3.xml
+++ b/doc/man/pam_misc_setenv.3.xml
@@ -24,7 +24,7 @@
<paramdef>pam_handle_t *<parameter>pamh</parameter></paramdef>
<paramdef>const char *<parameter>name</parameter></paramdef>
<paramdef>const char *<parameter>value</parameter></paramdef>
- <paramdef>int<parameter>readonly</parameter></paramdef>
+ <paramdef>int <parameter>readonly</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
8 years, 7 months