NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/39164: Minor errors in usermod(8) and usermgmt.conf(5) manpages.



>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:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 18 01:55:00 +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



Home | Main Index | Thread Index | Old Index