Red Hat Bugzilla – Bug 144540
/etc/pam.d/system-auth not recreated automatically
Last modified: 2007-11-30 17:10:57 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; fi-FI; rv:1.7.5)
Description of problem:
Cron wasn't working for my non-root account "skarkkai", and in syslog
was appearing lines
crond: pam_succeed_if: requirement "uid < 100" not met by user
Invoking authconfig and clicking "Next" without making any changes
made some changes in /etc/pam.d/system-auth (I don't have the old one
readily accessible, but can dig it out if necessary), and cron started
working. Perhaps /etc/pam.d/system-auth should have been automatically
generated at some point where some pam settings related bug was fixed.
When I today ran authconfig, I had all the FC3 updates installed.
The problem is that we can't know if user didn't edit the system-auth
file by hand. If he did it would be really bad to rewrite it without
his manual intervention. Authconfig currently doesn't preserve most of
user changes of system-auth file.
However I agree sometimes it might be possible to use a script to
modify the system-auth file in the post install script of pam.
About your problem - the log message is probably irrelevant to the not
working cron because the authconfig only adds option to the
pam_succeed_if to not generate any logs. It must have been other bug.
Could you attach the new and old system-auth files?
Actually I, unfortunately, don't have the old system-auth file
anymore. I'll attach the new one anyway, though I don't expect it to
be of much help.
Created attachment 109522 [details]
The new system-auth file.
I don't see anything suspicious in your system-auth file, anything
that was fixed in recent time.
Note it could be even other files as /etc/nsswitch.conf.