[CentOS] How to configure PAM in Centos 5 64-bit?

Tim Meanor timspam at meanor.net
Wed Jul 4 01:52:56 UTC 2007


Only use authconfig to do the initial configuration (if at all).    
After that, manually edit the files to add the features you need, and  
don't use authconfig again.   authconfig will overwrite system-auth,  
which is what the warnings are about.

-Tim

On Jul 3, 2007, at 7:57 PM, Scott Ehrlich wrote:

> On Tue, 3 Jul 2007, Tim Meanor wrote:
>
>> Just edit system-auth directly.  authconfig is okay for doing some  
>> initial configuration, but once you get beyond that, you'll have  
>> to just edit the files directly.
>
> Again, the top of the system-auth file has comments saying it is  
> auto-generated and any changes made to it will be overwritten by  
> authconfig, which makes me hesitant to change the file, as the  
> changes may not stick.  It seems your info contradicts the file's  
> own warnings, not saying you are wrong, but trying to find the  
> right answer compared to what the file itself says.
>
> Curious and confused.
>
> Thanks.
>
> Scott
>
>>
>> -Tim
>>
>> On Jul 3, 2007, at 6:01 PM, Scott Ehrlich wrote:
>>
>>> I'm new the the PAM world and have CentOS 5 64-bit installed on a  
>>> system.
>>> I want to tweak some of the system-auth module settings, but the  
>>> top of the file says anything configured in that file will get  
>>> overwritten, as it is autogenerated by authconfig.
>>> I checked out authconfig, and it doesn't seem clear to me how to  
>>> make the changes I need via authconfig.
>>> So, where do I need to look?   What utility/file do I touch?
>>> Thanks.
>>> Scott
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS at centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>>
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos




More information about the CentOS mailing list