1.3. Modifying a ready-made authselect profile
As a system administrator, you can modify one of the default profiles to suit your needs.
You can modify any of the items in the /etc/authselect/user-nsswitch.conf
file with the exception of:
-
passwd
-
group
-
netgroup
-
automount
-
services
Running authselect select
profile_name
afterwards will result in transferring permissible changes from /etc/authselect/user-nsswitch.conf
to the /etc/nsswitch.conf
file. Unacceptable changes are overwritten by the default profile configuration.
Do not modify the /etc/nsswitch.conf
file directly.
Procédure
Select an
authselect
profile, for example:#
authselect select
sssd
-
Edit the
/etc/authselect/user-nsswitch.conf
file with your desired changes. Apply the changes from the
/etc/authselect/user-nsswitch.conf
file:#
authselect apply-changes
Verification steps
-
Review the
/etc/nsswitch.conf
file to verify that the changes from/etc/authselect/user-nsswitch.conf
have been propagated there.
Ressources complémentaires