Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

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:
Embargoed:

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