On 02-10-2021 21:58, Rowland Penny via samba wrote:> On Sat, 2021-10-02 at 21:51 +0200, Kees van Vloten via samba wrote:
>> I don't know what you have in /etc/sudoers or /etc/sudoers.d.
> I have already shown that my name is not in /etc/sudoers and
> /etc/sudoers.d/ is virtually empty:
>
> rowland at devstation:~$ ls /etc/sudoers.d
> README
>
> But I can use sudo.
>
> Rowland
>
>
>
Indeed you did, but you did not show the /etc/sudoers file. I would
expect it to contain a line that allows a group you are member of to
provide you root access.
If you want to see sudo-rules that are matching for your user you can do
sudo -l from your user.
- Kees.