Solved

/etc/security/access.conf problem

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux  : how to view CPU info and  its usage details 7 260
SSH agent doesn't keep keys after reboot on Debian 20 142
CentOS User Audit 3 88
IPA - change main server? 3 148
Hello EE, Today we will learn how to send all your network traffic through Tor which is useful to get around censorship and being tracked all together to a certain degree. This article assumes you will be using Linux, have a minimal knowledge of …
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

808 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