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)
Top Articles
Latest Posts
Article information

Author: Lidia Grady

Last Updated:

Views: 6560

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Lidia Grady

Birthday: 1992-01-22

Address: Suite 493 356 Dale Fall, New Wanda, RI 52485

Phone: +29914464387516

Job: Customer Engineer

Hobby: Cryptography, Writing, Dowsing, Stand-up comedy, Calligraphy, Web surfing, Ghost hunting

Introduction: My name is Lidia Grady, I am a thankful, fine, glamorous, lucky, lively, pleasant, shiny person who loves writing and wants to share my knowledge and understanding with you.