Control: tags -1 unreproducible

On Fri, Feb 27, 2026 at 08:19:04PM +0000, Shane Frasier wrote:
When running in Debian Forky I am unable to run commands as root via
sudo.  Even something simple such as sudo ls fails with the error
message "root is not in the sudoers file".  I did verify that root is
indeed listed in the /etc/sudoers file just as it always has been.

Like this?

2/5177]mh@swivel:~ ⚡ $ sudo -i
Last login: Sa Feb 28 10:46:33 CET 2026 on pts/5
root@swivel:~# id
uid=0(root) gid=0(root) groups=0(root)
root@swivel:~# sudo ls
Sync
root@swivel:~# sudo -u mh id
uid=1001(mh) gid=1001(mh) 
groups=1001(mh),4(adm),20(dialout),27(sudo),50(staff),100(users),104(kvm),106(netdev),127(libvirt),128(wireshark),129(debspawn),998(systemd-network),999(systemd-journal)
root@swivel:~# sudo id
uid=0(root) gid=0(root) groups=0(root)
root@swivel:~#
logout
[3/5178]mh@swivel:~ ⚡ $

Seems to work for me. Can you give instructions how to reproduce this?

Please inspect your sudoers and your sudoers.d files for strangeness.

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

Reply via email to