As the title says I'm receiving an error when I'm using security/doas with a keybind in a i3wm, keybind which modify the backlight of the screen from 100% to 70% because intel_backlight don't keep the changes between reboots/shutdowns and the Fn keys don't work so great with apci_ibm.
doas.conf:
i3wm bind section
blacklight binded script:
The user is in wheel and operator groups.
Code:
doas[66240]: pam_authenticate: Conversation failure
Code:
permit nopass keepenv minbari
permit :wheel
permit nopass keepenv :minbari cmd /home/minbari/.config/i3/modules/check_ports
permit nopass keepenv :minbari cmd /home/minbari/.scripts/backlight
Code:
exec doas /home/minbari/.scripts/backlight
bindsym $mod+slash exec doas /home/minbari/.scripts/backlight
blacklight binded script:
Bash:
#!/bin/sh
sleep 3
if ! [ ${intel_backlight} -eq 100 ]; then
intel_backlight 70
fi