"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 |
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 |
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 08:10 AM. |