LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 09:07 AM   #1
xtansat
LQ Newbie
 
Registered: May 2015
Posts: 9

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, 04:51 PM   #2
adam999
Member
 
Registered: Sep 2006
Posts: 102

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

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


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


All times are GMT -5. The time now is 10:03 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