Solved

/etc/security/access.conf problem

Posted on 2010-11-16
3
1,119 Views
Last Modified: 2012-05-11
I'm trying disable access using /etc/access.conf file and still user can access. What am I  missing here?  This is what I put in access.conf file

- : david : ALL

0
Comment
Question by:mokkan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Assisted Solution

by:poison5151
poison5151 earned 500 total points
ID: 34148081
You need to include pam_access in your PAM configuration file. That is the module that actually reads access.conf and denies/permits access.

For, example, for RHEL, my PAM configuration is under /etc/pam.d/system-auth.

Insert before the first account line:

account    required    pam_access.so

Open in new window

0
 

Accepted Solution

by:
mokkan earned 0 total points
ID: 34148107
thank you. It worked.
0
 

Author Closing Comment

by:mokkan
ID: 34211332
Thank you for your quick help.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
Fine Tune your automatic Updates for Ubuntu / Debian
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question