| Summary: | crontab commands fail because of pam configuration | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Alan Mikolajczuk <alan.mikolajczuk> | ||||||
| Component: | vixie-cron | Assignee: | Marcela Mašláňová <mmaslano> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | qe-baseos-daemons | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 5.8 | CC: | tmraz | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-03-13 13:37:11 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Alan Mikolajczuk
2012-03-12 17:29:06 UTC
Can you please attach the contents of your /etc/environment and /etc/pam.d/system-auth ? Created attachment 569657 [details]
/etc/environment
Created attachment 569659 [details]
/etc/pam.d/system-auth-local
The default symbolic link of system-auth pointing to system-ayth-ac was removed and replaced with system-auth pointing to system-auth-local.
Either drop the nonsensical 'mesg n' from the /etc/environment or change pam_env line in system-auth to be: auth [default=ignore] pam_env.so The /etc/environment is not read by anything else than pam_env nowadays and it does not make any sense to put there lines that are not in the name=value syntax. Basically your /etc/environment is broken and if DISA checklist explicitly mentions adding 'mesg n' to it, then it should be corrected. (In reply to comment #4) > Either drop the nonsensical 'mesg n' from the /etc/environment or change > pam_env line in system-auth to be: > > auth [default=ignore] pam_env.so > > The /etc/environment is not read by anything else than pam_env nowadays and it > does not make any sense to put there lines that are not in the name=value > syntax. Basically your /etc/environment is broken and if DISA checklist > explicitly mentions adding 'mesg n' to it, then it should be corrected. Thank you. |