Giving console permissions
Hi, I wanted to know if there is a way to give console permissions?
What I need this for is: I have a script that I start as root that would start a program (vmware) as another user. Eg. su vmUser vmplayer ...
The problem is that root has the console permissions and I need vmUser to have them so vmware is able to use /dev/dsp. In short I need vmUser to have r+w on /dev/dsp
If console permissions isn't the right way of doing this, how can this be done? What I tried so far is putting vmUser in the audio group, that works, but I don't want vmUser to be in the audio group.