16
7
I am trying to change the brightness by overwriting the value on this file:
sudo echo 5 > /sys/class/backlight/acpi_video0/brightness
-bash: /sys/class/backlight/acpi_video0/brightness: Permission denied
It doesn't work even when using sudo. However if I switch to super-user with su, it works. Why is that?
This action is restricted to sudo users only. I found an answer in this comment:
– Alexey Volodko – 2019-04-03T10:58:10.247The reason that this is set at su permissions is that a virus could conceivably make your screen dim and go bright at incredible speed ultimately damaging your hardware display. In the 90's I encountered a virus that would adjust the screen refresh Hertz so rapidly that your monitor would fry.