You are not logged in.

#1 2021-12-28 19:18:12

pedrogmurillo
Member
Registered: 2021-12-28
Posts: 1

Beeper can only be used as root.

I'm trying to use the beep command to make the PC's buzzer sound, but I've found this can only be accomplished when running the command as root. Is there any way to run it as a normal user? Thanks.

Offline

#2 2021-12-28 19:37:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,493
Website

Re: Beeper can only be used as root.

man beep wrote:

Devices and Permissions...
    For  non-root  uses,  the  system  administrator can set up a udev(7) rule to allow write access to /dev/input/by-path/plat‐form-pcspkr-event-spkr for certain users and/or user groups. For details, see  the  beep /usr/share/doc/beep/PERMISSIONS.md file.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB