On 2022/08/13 16:08:50 +0900, 川島ジェームス <[email protected]> wrote: > Hi, > > I’m ashamed I had to be the one… but.. doas does not work for users named > “cmd” ;) > (maybe “as” “persist” ... as well)
It works, you just need to quote "cmd" in the configuration
venera$ whoami
cmd
venera$ doas whoami
root
venera$ doas head -1 /etc/doas.conf
permit keepenv nopass "cmd"
same thing for all the other keywords.
Cheers,
Omar Polo
