Bug 737906
Summary: | pam_exec issues after 1.1.4 update | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Andrew <travneff> |
Component: | pam | Assignee: | Tomas Mraz <tmraz> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 15 | CC: | tmraz |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-09-13 21:56:32 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Andrew
2011-09-13 11:23:40 UTC
I do not think this is a real regression or even a bug at all. In case of the /root/test.sh either you do not have the file with executable permission or even if you do SELinux will prevent login from executing scripts from /root/ directory. The script should be placed in some place where executables should be held. Perhaps /usr/local/bin would be appropriate for you (and if you move the script from /root, do not forget to call restorecon on it). In case of the /bin/bash -c "sleep 5" - this never worked, the line should be: session optional pam_exec.so debug log=/tmp/pam.log /bin/bash -c [sleep 5] The " have to be replaced with [] as this is the marker for merging multiple space separated words into a single argument in the PAM configuration file. You are right, it was SELinux related. Maybe I've missed sealert notifications, sorry. Thanks. |