git: 01c811c31726 - stable/14 - nuageinit/man: clarify how to enable sudo and doas
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Jan 2026 12:34:03 UTC
The branch stable/14 has been updated by bapt:
URL: https://cgit.FreeBSD.org/src/commit/?id=01c811c317262e46bcc37ff5f8ac4a2f399bfdef
commit 01c811c317262e46bcc37ff5f8ac4a2f399bfdef
Author: Gonéri Le Bouder <goneri@lebouder.net>
AuthorDate: 2026-01-03 23:10:18 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2026-01-14 12:33:40 +0000
nuageinit/man: clarify how to enable sudo and doas
Clarify that both `sudo` and `doas` are not part of the base system and
they need to be listed in the `packages` section if the user wants to
enable them.
MFC After: 1 week
Signed-off-by: Gonéri Le Bouder <goneri@lebouder.net>
Pull Request: https://github.com/freebsd/freebsd-src/pull/1944
(cherry picked from commit 402f1353707783e2adc8d0bff01faf557820f6f5)
---
libexec/nuageinit/nuageinit.7 | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/libexec/nuageinit/nuageinit.7 b/libexec/nuageinit/nuageinit.7
index b527c984970c..bb646cf4a652 100644
--- a/libexec/nuageinit/nuageinit.7
+++ b/libexec/nuageinit/nuageinit.7
@@ -3,7 +3,7 @@
.\" Copyright (c) 2025 Baptiste Daroussin <bapt@FreeBSD.org>
.\" Copyright (c) 2025 Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
.\"
-.Dd June 26, 2025
+.Dd January 6, 2026
.Dt NUAGEINIT 7
.Os
.Sh NAME
@@ -321,6 +321,15 @@ which will be replaced by the current username.
A special case exist: if the entry is a simple string with the value
.Qq default ,
then the default user is created.
+
+Configuring
+.Nm sudo
+or
+.Nm doas
+does not automatically install them. Ensure the relevant command is listed in your
+.Nm packages
+section.
+
.It Ic chpasswd
Change the passwords for users, it accepts the following keys:
.Bl -tag -width "expire"
@@ -395,6 +404,7 @@ users:
packages:
- neovim
- git-lite
+ - sudo
package_update: true
package_upgrade: true
runcmd: