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

Re: No "Beep" from PC Speaker



Colin wrote:
Marty wrote:

Did you try to "beep" as root?  (I use the program /usr/bin/beep for
this test.  The reason I ask is because I think once I had to be root to
run "beep."  I forget what the problem was, probably a permissions issue.)

Man!  Now that's being a bit paranoid!  You need to be root to make a beep?



From /var/lib/dpkg/info/beep.templates:

Template: beep/suid_option
Type: select
Choices: suid root for all, suid root with only group audio executable, not suid at all
[...]

Default: suid root with only group audio executable
Description: How to handle suid root for beep program?
 beep must be run as root since it needs to access the speaker hardware.
 There are several posibilities to make the program usable:  Either only
 for root (no suid bit at all), executable only by users of the group
 audio, or usable for all.
 .
 Because each program that is suid root is security risk this is not done
 by default.  However, the program is quite small (~150 lines of code) and
 is fairly easy to verify the safety of the code yourself, if you don't
 trust my judgement.



Reply to: