Chapter 4. Configuring Authentication Mechanisms Red Hat Enterprise Linux 7 | Red Hat Customer Portal (2024)

Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

RedHat EnterpriseLinux supports several different authentication methods. They can be configured using the authconfig tool or, in some cases, also using IdentityManagement tools.

4.1.Configuring Local Authentication Using authconfig

The Local Authentication Options area defines settings for local system accounts, not the users stored on the back end. These settings define user-based authorization to system services (as defined in /etc/security/access.conf). Otherwise, authorization policies can be defined within the identity provider or the services themselves.

4.1.1.Enabling Local Access Control in the UI

Enable local access control sets the system to check the /etc/security/access.conf file for local user authorization rules. This is PAM authorization.

Chapter4.Configuring Authentication Mechanisms Red Hat Enterprise Linux 7 | Red Hat Customer Portal (1)

Figure4.1.Local Accounts Fields

4.1.2.Configuring Local Access Control in the Command Line

There are two options for authconfig to enable local authorization controls. --enablelocauthorize skips network authentication and only checks local files for system users. --enablepamaccess configures the system to look for system authorization policies in /etc/security/access.conf.

[root@server ~]# authconfig --enablelocauthorize --enablepamaccess --update
Chapter 4. Configuring Authentication Mechanisms Red Hat Enterprise Linux 7 | Red Hat Customer Portal (2024)

References

Top Articles
Latest Posts
Article information

Author: Tyson Zemlak

Last Updated:

Views: 6556

Rating: 4.2 / 5 (63 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Tyson Zemlak

Birthday: 1992-03-17

Address: Apt. 662 96191 Quigley Dam, Kubview, MA 42013

Phone: +441678032891

Job: Community-Services Orchestrator

Hobby: Coffee roasting, Calligraphy, Metalworking, Fashion, Vehicle restoration, Shopping, Photography

Introduction: My name is Tyson Zemlak, I am a excited, light, sparkling, super, open, fair, magnificent person who loves writing and wants to share my knowledge and understanding with you.