-   Slackware (
-   -   "adduser" not adding users to default group "users" (

PunkPT 09-23-2004 10:45 AM

"adduser" not adding users to default group "users"
i'm running slackware-current
after creating a user with "adduser" the program says it will add the user
to the default group "users"
after that a "cat /etc/group" tells me no user is present under the
"users" group

Andrew Benton 09-23-2004 11:31 AM

useradd -s /bin/bash andy -g users -G video,audio

The -g switch allows you to specify the group the user should belong to, -G should be a comma separated list of the other groups you want the user to belong to. Read man useradd

PunkPT 09-23-2004 11:50 AM

i solved it
group doesn't hold the user's group
the passwd holds the group-user relation

All times are GMT -5. The time now is 06:42 PM.