On Mi, 15 ian 20, 01:36:23, kaye n wrote:
> Hello Friends
>
> I copied a script called backlight-brightness from the directory,
> /usr/local/bin
> of another GNU/Linux distro,
> and pasted it to the same directory of my Debian system.
>
> If I run it in terminal,
> kaye@laptop:~$ backlight-brightness
> backlight-brightness: You need to be root to run this script
Hi guys, I'm the OP.
This is in Debian:
kaye@laptop:~$ ls -R /etc/sudoers.d
/etc/sudoers.d:
10-installer README
kaye@laptop:~$ cat /etc/sudoers
cat: /etc/sudoers: Permission denied
kaye@laptop:~$ ls -l /usr/local/bin/backlight-brightness
-rwxrwxr-x 1 root kaye 19490 Nov 15 2017 /usr/local/bin/backlight-brightness
This is in antiX distro:
$ ls -R /etc/sudoers.d
/etc/sudoers.d:
antixers README
$ cat /etc/sudoers cat: /etc/sudoers: Permission denied
$ ls -l /usr/local/bin/backlight-brightness
-rwxr-xr-x 1 root root 19490 Nov 15 2017 /usr/local/bin/backlight-brightness
I don't understand why adding the line:
kaye ALL= /usr/local/bin/backlight-brightness
in
/etc/sudoers.d/10-installer
of my Debian system does not work.