Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149743 - Doc correction: Must be in wheel group to use 'su'
Summary: Doc correction: Must be in wheel group to use 'su'
Status: RESOLVED INVALID
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: PPC Linux
: High minor (vote)
Assignee: Docs Team
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-01 09:23 UTC by michael@smith-li.com
Modified: 2006-10-01 11:55 UTC (History)
0 users

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 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!