🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #420

[Bug 293716] nuageinit doesn't allow specific uid for users

#420
From: bugzilla-noreply
Date: Wed, 11 Nov 2026 15:22
47 lines
3751 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293716

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit eca5b28692eac5ae597eff6a13629c17c1e40ace
Author:     Kushagra Chauhan <zenzesama@gmail.com>
AuthorDate: 2026-11-03 23:48:00 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-11-11 15:21:58 +0000

    nuageinit: Add support for uid

    Adds support for specifying an explicit UID when creating users through
nuageinit. Both numeric and string UID values are supported. Invalid or
negative UIDs are rejected. The new uid option is documented in nuageinit(7).
Existing automatic UID allocation remains unchanged when no UID is specified. A
UID already in use or out of range is left to pw(8) to reject.

    PR:             293716
    Reported by:    Einar Bjarni Halldórsson <einar@isnic.is>
    Reviewed by:    dtxdf, bapt
    Signed-off-by:  Kushagra Chauhan <zenzesama@gmail.com>
    Differential Revision:  https://reviews.freebsd.org/D61174

 libexec/nuageinit/nuage.lua                   | 11 +++++++++++
 libexec/nuageinit/nuageinit.7                 |  4 +++-
 libexec/nuageinit/tests/Makefile              |  1 +
 libexec/nuageinit/tests/adduser_uid.lua (new) | 27 +++++++++++++++++++++++++++
 libexec/nuageinit/tests/nuage.sh              | 19 +++++++++++++++++++
 5 files changed, 61 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-293716-227-PiW8Ut345E@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <bug-293716-227@https.bugs.freebsd.org/bugzilla/>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 293716] nuageinit doesn't allow specific uid for users
Date: Wed, 11 Nov 2026 15:22:59 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-293716-227-PiW8Ut345E@https.bugs.freebsd.org/bugzilla/>
References: <bug-293716-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="39494"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1794410579;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=0zTb/udUi58BUiF9wjtoqbg3+y7yJ26HyiR5YR0PqDM=;
	b=MMU/ByM4wgaP5CrYw07uipmNm/N4FD3t1aRZQdPnKjBKl6Xo1xgODqlgy8nTR3BRY8jwAM
	w/P3LCGp5bExMuu9orJNtkizFvj+KOQc4OFqFgtcIJouSJ8UX0uG28BfyQTgjKP12eNVS0
	6QvTcjY4ngK742sNKe+WijRIr88o1A9MtXZz8xnkMjE20qP84X1g31NJ6+MfC7ZyJo2G0t
	eBU6P43oln7SjfTSDNxZExaiFlIfuve4l0i7HAEHZGsuKUIzp7thWgmbLNTL+WQ2JJSwyS
	5urj2hA4Gg6viSVDXIHXFG/L9r8ejyQp6U1Rw6qHiAnv+Ckt9FOAV6BxxcfRuQ==
X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-293716-227@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes