Bug 1039474

Summary: Table for "useradd command line options" is not complete, should it be?
Product: Red Hat Enterprise Linux 6 Reporter: Robert P. J. Day <rpjday>
Component: doc-Deployment_GuideAssignee: Jana Heves <jsvarova>
Status: CLOSED WONTFIX QA Contact: ecs-bugs
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.5Keywords: Documentation
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-07 13:17:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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