You are not logged in.

#1 2003-02-03 13:10:57

Registered: 2003-01-14
Posts: 159

adding someone to a group

I created a group called sndusers and used the usermod -G sndusers <user> command to add someone to the group.  This worked great, problem is once I restarted it didn't.  How do I keep my user in the group?  As of now I have to log out of X, type that, then go back in for my sound to work..



#2 2003-02-03 14:22:28

Registered: 2002-09-14
Posts: 23

Re: adding someone to a group … =alsa+live

this is what i used big_smile
no messing with groups


#3 2003-02-03 23:38:30

From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771

Re: adding someone to a group

Try gpasswd -a <user> <group>

man gpasswd


#4 2003-02-03 23:57:16

Registered: 2002-12-23
Posts: 239

Re: adding someone to a group

Unlike sp00n (no disrespect intended,) I cannot suggest you forget about the standard methods of doing things. While it may be a pain, user & group settings help protect your system. Sound systems and programs which access them, are often an easy method for someone to attempt to hack a PC since so many people leave them vulnerable.

Anyhow, I can't verify the problem you mention. When I tested this, it worked fine for me. I can only assume you are doing this as root and have otherwise set the /etc/devfsd.conf file properly. You can quickly verify if the user is in this (or any other) group by viewing the file /etc/group.

It isn't necessary to use the 'sndusers' group. You could select any group ID you desire. The key is ensuring they are set in devfsd.conf and the user is a member. Thus, on a single user system the group could be the same group which your primary GID. I really don't suggest doing this for security reasons.

If worse comes to worse and you can't figure out the command line stuff, try the KDE program kuser, assuming you have kde installed.



Board footer

Powered by FluxBB