Closed
Description
Describe the bug
sudo-rs
seems to be unable to work with active directory domain groups in sudoers files. Seems it stumbles upon the @
when parsing those files.
To Reproduce
Steps to reproduce the behavior:
- Install ' sudo-rs` on Ubuntu 24.04 using apt
- Use the default contents in
/etc/sudoers-rs
- Create a sudoers configuration such as
/etc/sudoers.d/01_server_admins_group
%[email protected] ALL=(ALL) NOPASSWD: ALL
- Run the following command
sudo-rs ls
- See error:
/etc/sudoers.d/01_server_admins_group:2:13: expected host name
%[email protected] ALL=(ALL) NOPASSWD: ALL
^