LeRoy Cressy on Wed, 20 Mar 2002 13:20:21 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] sound card troubles


"Jarvis, John" wrote:
> 
>    Part 1.1Type: Plain Text (text/plain)

See if you get sound as root, if so you may want to check the
permissions on the sound devices in the /dev directory. (/dev/mixer,
/dev/dsp

This is a dasngerous and hazardous method of granting permissions.  The
safer method would be by editing the /etc/group file and adding specific
users certain privelages to specific groups.

audio:x:29:leroy,rita

The above line stipulates that both leroy and rita hae permissions to
the audio group while all others are locked out.  By making permission
changes at the /dev level means that you are setting up a system that
invites a script kiddie to reek havoc with your system.  The devices
belong to various groups so that you can allow specific users access to
specific parts of the system.  

crw-rw----    1 root     audio     14,   4 Apr 21  2000 /dev/audio
crw-rw----    1 root     audio     14,   3 Apr 21  2000 /dev/dsp
crw-rw----    1 root     audio     35,   0 Apr 21  2000 /dev/midi0
crw-rw----    1 root     audio     14,   0 Apr 21  2000 /dev/mixer

and there are some others but adding users to a group allows you control
instead of going through the /dev directory and changing permissions by
hand.
-- 
Rev. LeRoy D. Cressy   mailto:lcressy@telocity.com   /\_/\
                       http://www.netaxs.com/~ldc   ( o.o )
                       Phone:  215-535-4037          > ^ <

Jesus saith unto him, I am the way, the truth, and the life: 
no man cometh unto the Father, but by me. (John 14:6)

______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug