File pam-modules-10.3-pam_make-fix-open.dif of Package pam-modules
--- pam_make-1.2/src/pam_make.c
+++ pam_make-1.2/src/pam_make.c 2007/11/26 09:01:36
@@ -165,7 +165,7 @@
time_t tm = time (NULL);
char *buffer = NULL;
- if ((i = open (logfile, O_CREAT|O_APPEND|O_WRONLY)) == -1)
+ if ((i = open (logfile, O_CREAT|O_APPEND|O_WRONLY, 0600)) == -1)
{
int err = errno;
pam_syslog (pamh, LOG_ERR, "open of %s failed: %m",