Bug 193471 - PAM don't log error on a "System error"
PAM don't log error on a "System error"
Product: Fedora
Classification: Fedora
Component: pam (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tomas Mraz
Depends On:
  Show dependency treegraph
Reported: 2006-05-29 08:13 EDT by Alain Portal
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-05-30 07:40:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Alain Portal 2006-05-29 08:13:55 EDT
Description of problem:

I'm trying to package fcron 

"fcrontab -e" let a user to edit his fcrontab. Unfortunately, as root, the 
command fails and outputs "Could not authenticate user using PAM (4): System 
error". Sebastien Tricaud, one of the pam's maintener, tell me the code about 
pam in fcron is good. We trying to investigate, unfortunately, pam error are 
not log, neither in /var/log/messages or /var/log/secure

Version-Release number of selected component (if applicable):


How reproducible:

Steps to Reproduce:
1. get 
2. recompile, install
3. as root, type "fcrontab -e"
Actual results:
"Could not authenticate user using PAM (4): System error"
without any log

Expected results:

log that explain failure

Additional info:
Comment 1 Tomas Mraz 2006-05-30 07:40:28 EDT
This is not a bug in PAM. The PAM library should not be called with fcron
effective uid. The library returns system error because auditing code fails with
uid == 0 and euid != 0. Maybe that could be fixed or worked around in the PAM
library but I don't think it's worth it.

Note You need to log in before you can comment on or make changes to this bug.