Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jan 2026 08:25:28 +0000
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Cc:        =?utf-8?Q?Gon=C3=A9ri?= Le Bouder <goneri@lebouder.net>
Subject:   git: 402f13537077 - main - nuageinit/man: clarify how to enable sudo and doas
Message-ID:  <695cc6f8.945b.618c210d@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bapt:

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

commit 402f1353707783e2adc8d0bff01faf557820f6f5
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-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 <goneri@lebouder.net>
    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 <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:


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?695cc6f8.945b.618c210d>