LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   "adduser" not adding users to default group "users" (http://www.linuxquestions.org/questions/slackware-14/adduser-not-adding-users-to-default-group-users-234314/)

PunkPT 09-23-2004 11: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 12:31 PM

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 12:50 PM

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 05:11 AM.