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

Bug 149743

Summary: Doc correction: Must be in wheel group to use 'su'
Product: [OLD] Docs on www.gentoo.org Reporter: michael <michael>
Component: Installation HandbookAssignee: Docs Team <docs-team>
Status: RESOLVED INVALID    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
URL: http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1&chap=2#doc_chap3
Whiteboard:
Package list:
Runtime testing required: ---

Description michael@smith-li.com 2006-10-01 09:23:51 UTC
Code listing 12 in Part 1, Chapter 2 of the PPC handbook 2006.1 shows how to add a user, and code listing 13 shows how to su to root, but there is no mention of adding the user to the wheel group. Please change code listing 12 from:

# useradd -m -G users john
# passwd john
New password: (Enter john's password)
Re-enter password: (Re-enter john's password)

To:

# useradd -m -G users,wheel john
# passwd john
New password: (Enter john's password)
Re-enter password: (Re-enter john's password)

Or make mention of the fact that membership in the wheel group is prerequisite to using 'su'.

Thanks
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2006-10-01 11:34:18 UTC
Code listing 13 shows how to su from root to john, not vice versa. Thanks for reporting, anyway.
Comment 2 michael@smith-li.com 2006-10-01 11:55:42 UTC
whoops, that's totally right :-S

My bad!