ITADN

`CWD` error message is inaccurate

#522Opene-kwsm 创建于 2026-03-05
E
e-kwsmcommented
```console $ visudo -V visudo version 1.9.17p2 visudo grammar version 50 $ echo 'user1 ALL = CWD=*.d /bin/sh' | visudo -c - stdin:1:17: values for "CWD" must start with a '/', '~', or '*' user1 ALL = CWD=*.d /bin/sh ^~~ ``` Here the problem is that the `*` has trailing token.
0 条评论