Jarvis, John on Wed, 20 Mar 2002 15:40:15 +0100


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

[PLUG] RE: [PLUG] sound card troubles


Note that I said check, not change.. furthermore assuming you are not giving
people shell accounts I don't see any security risk.


-----Original Message-----
From: LeRoy Cressy [mailto:leroy@lrcressy.com]
Sent: Wednesday, March 20, 2002 7:14 AM
To: plug@lists.phillylinux.org
Subject: 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

______________________________________________________________________
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