LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 05-05-2015, 08:07 AM   #1
xtansat
LQ Newbie
 
Registered: May 2015
Posts: 10

Rep: Reputation: Disabled
Question /etc/security/access.conf not working


Hi everybody,
i am using centOS 6.6 and 7. i configure access.conf as follow.

Step 1: vi /etc/pam.d/sshd
account required pam_access.so

Step 2: vi /etc/security/access.conf
- : ALL : ALL

i am still able to access this machine with any user.

please help me to solve

BR/satti
 
Old 05-06-2015, 03:51 PM   #2
adam999
Member
 
Registered: Sep 2006
Posts: 105

Rep: Reputation: 18
auth required pam_access.so
 
Old 05-07-2015, 06:49 AM   #3
xtansat
LQ Newbie
 
Registered: May 2015
Posts: 10

Original Poster
Rep: Reputation: Disabled
finally got the solution
Step 1:
vi /etc/pam.d/login
account required pam_access.so #insert this module
Step 2: vi /etc/security/access.conf
- : ALL : ALL
 
  


Reply



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
/etc/security/access.conf: only SSH, no local login? dmchess Linux - Security 2 04-22-2012 10:08 AM
/etc/passwd entries needed in /etc/security/access.conf? bbtg Linux - Enterprise 3 10-16-2007 07:47 AM
Alternative to rebooting after /etc/security/access.conf changes? BBTG-Linux Linux - Enterprise 1 08-15-2006 01:06 PM
Restrict X server access using /etc/security/access.conf anand_kt Linux - General 0 04-22-2005 08:40 AM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM

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

All times are GMT -5. The time now is 11:27 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
Open Source Consulting | Domain Registration