authselect: No existing configuration detected.

Solution Verified - Updated -

Issue

  • No authselect configuration is found

    # authselect current
    No existing configuration detected.
    
  • Fails to enable authselect features

    # authselect enable-feature with-faillock 
    No existing configuration detected.
    
  • Unable to select any authselect profile, below error message is returned:

    # authselect select minimal
    [error] File [/etc/pam.d/system-auth] exists but it needs to be overwritten!
    [error] File [/etc/pam.d/password-auth] exists but it needs to be overwritten!
    [error] File [/etc/pam.d/fingerprint-auth] exists but it needs to be overwritten!
    [error] File [/etc/pam.d/smartcard-auth] exists but it needs to be overwritten!
    [error] File [/etc/pam.d/postlogin] exists but it needs to be overwritten!
    [error] File [/etc/nsswitch.conf] exists but it needs to be overwritten!
    [error] File that needs to be overwritten was found
    [error] Refusing to activate profile unless this file is removed or overwrite is requested.
    
    Some unexpected changes to the configuration were detected.
    Use --force parameter if you want to overwrite these changes.
    

Environment

  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • authselect

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content