Re: I need to be root to run this script
* l0f4r0@tuta.io <l0f4r0@tuta.io> [20-01/15=We 01:19 +0100]:
>>> ls -R /etc/sudoers.dcat /etc/sudoers
>>> ls -l /usr/local/bin/backlight-brightness
* kaye n <guikaye@gmail.com> [20-01/15=We 10:57 +0800]:
>> [...]
>> kaye@laptop:~$ ls -R /etc/sudoers.dcat /etc/sudoers
>> [...]
* Will Mengarini <seldon@eskimo.com> [20-01/14=Tu 20:24 -0800]:
> l0f4r0's commands were missing a newline. These were the intent:
> ls -R /etc/sudoers.d
> cat /etc/sudoers
> ls -l /usr/local/bin/backlight-brightness
And the ls -R would be helped by this:
for f in /etc/sudoers.d/*;{ [[ -f $f ]] && echo === "$f" && cat "$f";}
Reply to: