LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-13-2018, 07:28 AM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,277
Blog Entries: 4

Rep: Reputation: 148Reputation: 148
Which file to replace with Vanilla File when having issues with Pam?


I'm doing some hardening under /etc/pam.d/ under system-auth-ac for RHEL5.

Now the system is acting odd and I want to see if the following is possible.

1. Turn on some sort of auditing to see where the issue is?

2. Replace system-auth-ac with a vanilla file that I backed up before starting any changes? Or do I want to replace system-auth? Not sure since we have a soft link here and I don't want to make things worst.

thanks
 
Old 01-14-2018, 11:05 PM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 4,539

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Are you sure you're using RHEL5? The last update was in 2014, and it's based on FC 6. We're up to FC 27 now. I don't think anything recent involving PAM applies to RHEL5. It uses the 2.6 kernel. It doesn't use systemd. But if I had to guess on your question, I'd say restore the file from a backup.
 
Old 01-15-2018, 09:12 AM   #3
JockVSJock
Senior Member
 
Registered: Jan 2004
Location: SATX
Distribution: RHEL/CentOS
Posts: 1,277
Blog Entries: 4

Original Poster
Rep: Reputation: 148Reputation: 148
Quote:
Originally Posted by AwesomeMachine View Post
I'd say restore the file from a backup.
Yes this is a RHEL5 system.

But which file?
 
  


Reply

Tags
pam, rhel5, system-auth, system-auth-ac


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to do search & replace on a text file--need to extract URLs from a sitemap file Mountain Linux - General 4 08-07-2015 10:52 AM
[SOLVED] replace matched pattern from 1st file into 2nd file using awk sopier Programming 6 12-13-2011 09:58 AM
replace line in CSV file and rename file connected to that name wademac Linux - Newbie 3 07-15-2009 01:09 PM
Gnome/Nautilus issues Beagle-Tracker, file transfer info, replace file info, popup. Mysticle31 Linux - Software 0 01-08-2008 05:30 PM
vsftpd + pam + virtual users - Pam cannot load database file. mdkelly069 Linux - Networking 3 09-22-2004 11:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration