I have broken sudo. I can't see a path to fixing it.
I have a domain joined machine ruing 16.04 64 bit Ubuntu. I was attempting to add a user and a couple of domain groups to the sudoers list by adding a file under /etc/sudoers.d/. I was able to do just that, but apparently sudo does not like my syntax.
Code:
sudo ls >>> /etc/sudoers.d/DomainAdminRights: syntax error near line 3 <<< sudo: parse error in near line 3 sudo: no valid sudoers sources found, quitting sudo: unable to initialize policy plugin
Code:
cat /etc/sudoers.d/DomainAdminRights # Added 20160513 for domain level admin rights particularuseame ALL=(ALL:ALL) ALL %"Domain Admins" ALL=(ALL:ALL) ALL %spacelessgroupname ALL=(ALL:ALL) ALL
No one can sudo, so I can't remove the file. The disk is encrypted, so I can't just mount it with something else.
A little help?
برچسب:
نویسنده: استخدام کار