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
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. -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
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. >take a look at "man authconfig". in particular the FILES section. ls -l /etc/pam.d/system-auth* authconfig modifies /etc/pam.d/system-auth-ac, /etc/pam.d/system-auth is a symlink to /etc/pam.d/system-auth-ac. rm -f /etc/pam.d/system-auth cp /etc/pam.d/system-auth-ac /etc/pam.d/system-auth and edit away without fear of authconfig. Ben