Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301433 - Handbook mentions useradd -n -G etc,etc,etc john when "-n" fails useradd and is not necessary.
Summary: Handbook mentions useradd -n -G etc,etc,etc john when "-n" fails useradd and...
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-18 20:04 UTC by trix420
Modified: 2010-01-18 22:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description trix420 2010-01-18 20:04:07 UTC
At the end of the Installation Docs in the Finalizing Your Gentoo section, it gives an example useradd command that will fail if entered, as the -n does not work and prints the --help info.

Reproducible: Always
Comment 1 Allen Brooker (AllenJB) 2010-01-18 20:52:28 UTC
Please give a URL. The nearest page I can guess you're referring to is:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=11

This uses -m, not -n. -m is necessary as it tells useradd to create the home directory and populate it with the default content (from /etc/skel)
Comment 2 nm (RETIRED) gentoo-dev 2010-01-18 22:12:33 UTC
Allen's correct -- you just typed it wrong.

Not a bug; closing.