]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Document authselect to enable the NSS module
authorAndrea Bolognani <abologna@redhat.com>
Tue, 12 Nov 2024 22:32:33 +0000 (23:32 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 13 Nov 2024 21:42:19 +0000 (22:42 +0100)
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 <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/nss.rst

index 093c40b4199a1eaee3d101b56f7f12bd2ee17416..be137d987b17e729d76a95b3b3ec30ec97f92a9d 100644 (file)
@@ -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
 
 ::