Bug 1039474 - Table for "useradd command line options" is not complete, should it be?
Summary: Table for "useradd command line options" is not complete, should it be?
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: doc-Deployment_Guide
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
: ---
Assignee: Jana Heves
QA Contact: ecs-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-09 08:50 UTC by Robert P. J. Day
Modified: 2014-10-07 13:17 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-07 13:17:53 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Robert P. J. Day 2013-12-09 08:50:51 UTC
Table 3.2, "useradd command line options", does not mention the "-k" option, as well as a number of other options. If that table is not meant to be complete, it should mention that, or refer the reader to the man page for the complete list of options.

Comment 1 Robert P. J. Day 2013-12-09 08:58:43 UTC
I might as well point out that the table just above that -- "Command line utilities" -- also seems incomplete. For instance, there is no mention of the "passwd" command while, oddly, the less commonly used "gpasswd" command is mentioned.

There is also no mention of "chage", and probably others.

Comment 2 Robert P. J. Day 2013-12-09 09:09:39 UTC
Might as well keep going: Table 3.3, "groupadd command line options", is also incomplete in the sense that, to be consistent with other options, "-g" should be accompanied by its long form "--gid", and "-r" with "--system".

Comment 4 Jaromir Hradilek 2014-06-10 14:27:50 UTC
Thank you very much for taking the time to report this issue. Jana, could you please take a look at this bug?

Comment 5 Jana Heves 2014-07-11 15:45:36 UTC
Thank you Robert for pointing this out!

I do not believe "Table 3.2. useradd command line options" should list all available options, so 
I've updated the text to make sure the user is, firstly, aware of the fact the table is incomplete and, secondly, knows where to look for the complete list.

The updated text says the following:
"The list of options is not complete as it contains most frequently used choices only. For the whole list of options, see the useradd man page."

Concerning "Table 3.1. Command line utilities for managing users and groups",
I have updated the relevant text with a similar note.
In addition, the passwd utility has been added to the table. Great point!

The "-g" and "-r" options have been accompanied by their long forms in "Table 3.3. groupadd command line options" so that the table is complete and the style preserved throughout the table.

Cheers,
Jana


Note You need to log in before you can comment on or make changes to this bug.