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@centos.org http://lists.centos.org/mailman/listinfo/centos
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@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Tue, Jul 03, 2007 at 07:57:40PM -0400, Scott Ehrlich alleged:
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.
I've been editing that file for years without any problems.
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@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@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
On Wed, 4 Jul 2007, Ben wrote:
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.
Thank you all on the list. Great wealth of valuable information!
Scott
Ben
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos