Disabling Profile Features
Use the authselect utility to disable features in the active profile.
Use the authselect disable-feature command to
disable a feature in the active profile.
-
Disabling features works only on the active profile. You can't disable features in unselected profiles. Identify the active profile using the following command:
authselect current -
Use the following command syntax to disable a feature in the active profle:
sudo authselect disable-feature feature
Example 2-3 Disable account locking and home directories features
In this example, you disable the with-faillock and
with-mkhomedir features added to the sssd
profile.
-
Confirm that the active profile is
sssdand that thewith-faillockandwith-mkhomedirfeatures are enabled, by entering the following command:authselect currentProfile ID: sssd Enabled features: - with-fingerprint - with-silent-lastlog - with-faillock - with-mkhomedir -
Disable the
with-faillockandwith-mkhomedirfeatures:sudo authselect disable-feature with-faillocksudo authselect disable-feature with-mkhomedir -
Check that the features are no longer enabled in the active profile:
Profile ID: sssd Enabled features: - with-fingerprint - with-silent-lastlog