Solved

/etc/security/access.conf problem

Posted on 2010-11-16
3
1,095 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
  • 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

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…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now