Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SU and Audio Confict
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
gwiedmann
n00b
n00b


Joined: 19 Jul 2002
Posts: 17
Location: Canada

PostPosted: Sat Jul 20, 2002 7:40 am    Post subject: SU and Audio Confict Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sat Jul 20, 2002 7:44 am    Post subject: Reply with quote

Code:
$ man usermod

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
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Sat Jul 20, 2002 1:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
gwiedmann
n00b
n00b


Joined: 19 Jul 2002
Posts: 17
Location: Canada

PostPosted: Sat Jul 20, 2002 6:31 pm    Post subject: Reply with quote

Thanks for the help. RTFM as they say
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum