Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6868 - useradd username -m -G users,audio,wheel -s /bin/bash
Summary: useradd username -m -G users,audio,wheel -s /bin/bash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stoyan Zhekov (RETIRED)
URL:
Whiteboard:
Keywords:
: 7183 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-08-21 23:54 UTC by Daryl Stimm
Modified: 2003-02-04 19:42 UTC (History)
4 users (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 Daryl Stimm 2002-08-21 23:54:39 UTC
I think the install doc should have the reference to this command so users know
how to create users and have it automaticly make a home directory and put them
in the audio and wheel group. (they can change the groups if they want)


here is the command to use...
useradd username -m -G users,audio,wheel -s /bin/bash

every time I reinstall gentoo I am searching for that above command..

Any way we can get it in the install doc?

thanks
Comment 1 Eric Stockbridge 2002-09-05 20:20:52 UTC
why don't we just emerge superadduser durring install, makes it much
easier..slackware uses it by default, they even link it to /bin/addusr
Comment 2 John Davis (zhen) (RETIRED) gentoo-dev 2002-09-17 17:43:54 UTC
*** Bug 7183 has been marked as a duplicate of this bug. ***
Comment 3 Stoyan Zhekov (RETIRED) gentoo-dev 2002-11-24 23:43:26 UTC
Can we put this in the FAQs?
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2002-12-02 15:31:32 UTC
please add this into install docs

thx
Comment 5 Stoyan Zhekov (RETIRED) gentoo-dev 2002-12-26 02:32:07 UTC
Hm,in witch section is better to add this? In the "Installation Complete!"?
Or somewhere before it?
Comment 6 Stoyan Zhekov (RETIRED) gentoo-dev 2003-01-15 21:27:27 UTC
Everything WAS in the FAQs - adding, changinf shell, su EVERYTHING. But just to
not search the next time again I added to the "How do i add a normal user?":

Insteed of adduser you can also use:

Code listing 2.2

# useradd gentoo -m -G users,audio,wheel -s /bin/bash

This will add a user gentoo, will make possible for him to use sound-related
devices (/dev/sound/*), will make possible for him to switch to root (using su)
and will make /bin/bash his login shell.