From: Andrea Bolognani Date: Tue, 12 Nov 2024 22:32:33 +0000 (+0100) Subject: docs: Document authselect to enable the NSS module X-Git-Tag: v10.10.0-rc1~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3a4b049c4d4274890b94a0fa91dae0184d81fcc;p=thirdparty%2Flibvirt.git docs: Document authselect to enable the NSS module When using recent Fedora and RHEL versions, the manual setup that is otherwise necessary to enable the module can be replaced with executing a single command. Signed-off-by: Andrea Bolognani Reviewed-by: Michal Privoznik --- diff --git a/docs/nss.rst b/docs/nss.rst index 093c40b419..be137d987b 100644 --- a/docs/nss.rst +++ b/docs/nss.rst @@ -36,8 +36,15 @@ of installing it will be similar. Configuration ------------- -To enable the module, modify ``/etc/nsswitch.conf`` so that the ``hosts`` line -looks similar to +If you're running a new enough version of Fedora (>= 37) or RHEL (>= 10), then +you can use ``authselect`` to enable the module with a single command: + +:: + + # authselect enable-feature with-libvirt + +For other distributions, you will have to manually update the configuration in +``/etc/nsswitch.conf`` so that the ``hosts`` line looks similar to ::