summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorGonéri Le Bouder <goneri@lebouder.net>2026-01-03 18:10:18 -0500
committerBaptiste Daroussin <bapt@FreeBSD.org>2026-01-06 09:25:14 +0100
commit402f1353707783e2adc8d0bff01faf557820f6f5 (patch)
tree8c498f19b88bd57517b1a301c6d98721d45cfffe /libexec
parent7af8b75201b7af353fa74c8feb937b52f5ccf9bb (diff)
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
Diffstat (limited to 'libexec')
-rw-r--r--libexec/nuageinit/nuageinit.712
1 files changed, 11 insertions, 1 deletions
diff --git a/libexec/nuageinit/nuageinit.7 b/libexec/nuageinit/nuageinit.7
index 4f6b6e269867..455e1056b578 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
@@ -323,6 +323,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"
@@ -397,6 +406,7 @@ users:
packages:
- neovim
- git-lite
+ - sudo
package_update: true
package_upgrade: true
runcmd: