The branch main has been updated by bapt:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=402f1353707783e2adc8d0bff01faf557820f6f5

commit 402f1353707783e2adc8d0bff01faf557820f6f5
Author:     Gonéri Le Bouder <[email protected]>
AuthorDate: 2026-01-03 23:10:18 +0000
Commit:     Baptiste Daroussin <[email protected]>
CommitDate: 2026-01-06 08:25:14 +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 <[email protected]>
    Pull Request:   https://github.com/freebsd/freebsd-src/pull/1944
---
 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 4f6b6e269867..455e1056b578 100644
--- a/libexec/nuageinit/nuageinit.7
+++ b/libexec/nuageinit/nuageinit.7
@@ -3,7 +3,7 @@
 .\" Copyright (c) 2025 Baptiste Daroussin <[email protected]>
 .\" Copyright (c) 2025 Jesús Daniel Colmenares Oviedo <[email protected]>
 .\"
-.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:

Reply via email to