NetBSD Problem Report #39164
From www@NetBSD.org Fri Jul 18 01:51:31 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 1A46C63B89E
for <gnats-bugs@gnats.netbsd.org>; Fri, 18 Jul 2008 01:51:31 +0000 (UTC)
Message-Id: <20080718015130.A8D1363B880@narn.NetBSD.org>
Date: Fri, 18 Jul 2008 01:51:30 +0000 (UTC)
From: userresu@sdf.lonestar.org
Reply-To: userresu@sdf.lonestar.org
To: gnats-bugs@NetBSD.org
Subject: Minor errors in usermod(8) and usermgmt.conf(5) manpages.
X-Send-Pr-Version: www-1.0
>Number: 39164
>Category: misc
>Synopsis: Minor errors in usermod(8) and usermgmt.conf(5) manpages.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: misc-bug-people
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Jul 18 01:55:00 +0000 2008
>Closed-Date: Fri Jul 18 21:06:36 +0000 2008
>Last-Modified: Fri Jul 18 21:06:36 +0000 2008
>Originator: Anonymous
>Release: CURRENT
>Organization:
>Environment:
>Description:
The usermod(8) manpage talks about the `gid' field in the /etc/usermgmt.conf file where it should really name it the `group' field.
When making a patch for this, an additional (and slightly related) minor error was found in the usermgmt.conf(5) manpage. The sentence can be completed with the corresponding sentence from the usermod(8) manpage as an example; see patch below.
>How-To-Repeat:
"man 8 usermod"; "man 5 usermgmt.conf"; search for the appropriate sections (see patches below).
>Fix:
Apply the following patches.
--- /usr/src/usr.sbin/user/usermod.8 2006-05-29 03:38:33.000000000 +0200
+++ usermod.8.new 2008-07-18 03:35:09.000000000 +0200
@@ -125,7 +125,7 @@
.Pa /etc/group
to describe the new group.
This value can be preset for all users by using the
-.Ar gid
+.Ar group
field in the
.Pa /etc/usermgmt.conf
file.
--- /usr/src/usr.sbin/user/usermgmt.conf.5 2006-10-07 11:20:07.000000000 +0200
+++ usermgmt.conf.5.new 2008-07-18 03:36:59.000000000 +0200
@@ -83,7 +83,7 @@
If this is
.Ql =uid ,
then a uid and gid will be picked which are both unique
-and the same, and a line added to
+and the same, and a line will be added to
.Pa /etc/group
to describe the new group. It has the format:
.br
>Release-Note:
>Audit-Trail:
From: Alan Barrett <apb@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/39164 CVS commit: src/usr.sbin/user
Date: Fri, 18 Jul 2008 21:03:03 +0000 (UTC)
Module Name: src
Committed By: apb
Date: Fri Jul 18 21:03:03 UTC 2008
Modified Files:
src/usr.sbin/user: usermgmt.conf.5 usermod.8
Log Message:
man page fixes from PR 39164.
To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/usr.sbin/user/usermgmt.conf.5
cvs rdiff -r1.29 -r1.30 src/usr.sbin/user/usermod.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: apb@NetBSD.org
State-Changed-When: Fri, 18 Jul 2008 21:06:36 +0000
State-Changed-Why:
Patch applied. Thank you.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.