| View previous topic :: View next topic |
| Author |
Message |
gwiedmann n00b

Joined: 19 Jul 2002 Posts: 17 Location: Canada
|
Posted: Sat Jul 20, 2002 7:40 am Post subject: SU and Audio Confict |
|
|
When I add my user to the wheel group "usermod -G users,wheel username"
I am denied audio but can su. When I add my user to audio "usermod -G audio username" or "usermod -G users,audio username" I am then denied SU permission but have sound. I did not have this problem on my last load of Gentoo. Any Ideas ?  |
|
| Back to top |
|
 |
rac Bodhisattva


Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Sat Jul 20, 2002 7:44 am Post subject: |
|
|
| Quote: | -G group,[...]
A list of supplementary groups which the user is also a member of. Each group is separated from the next by a comma, with no intervening whitespace. The groups are subject to the same restrictions as the group given with the -g option. If the user is currently a member of a group which is not listed, the user will be removed from the group |
Note that last part.
| Code: | | # usermod -G users,audio,wheel username |
_________________ For every higher wall, there is a taller ladder |
|
| Back to top |
|
 |
Naan Yaar Bodhisattva

Joined: 27 Jun 2002 Posts: 1549
|
Posted: Sat Jul 20, 2002 1:09 pm Post subject: |
|
|
| Quote: |
usermod -G users,audio,wheel username
|
-G adds to secondary groups, so above can be changed to:
| Code: |
usermod -G audio,wheel <username>
|
Also note that useradd takes the -G flag too. Saves doing an usermod later. |
|
| Back to top |
|
 |
gwiedmann n00b

Joined: 19 Jul 2002 Posts: 17 Location: Canada
|
Posted: Sat Jul 20, 2002 6:31 pm Post subject: |
|
|
| Thanks for the help. RTFM as they say |
|
| Back to top |
|
 |
|