Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 301433

Summary: Handbook mentions useradd -n -G etc,etc,etc john when "-n" fails useradd and is not necessary.
Product: [OLD] Docs on www.gentoo.org Reporter: trix420
Component: Installation HandbookAssignee: Docs Team <docs-team>
Status: RESOLVED INVALID    
Severity: trivial CC: gentoo-bugs
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.