我想在/ etc / sudoers文件中删除(uncommnet#)轮组,那么我应该使用什么样的Regex模式?
#cat /etc/sudoers
....
....
## Allows members of the 'sys' group to run networking,software,## service management apps and more.
# %sys ALL = NETWORKING,SOFTWARE,SERVICES,STORAGE,DELEGATING,PROCESSES,LOCATE,DRIVERS
## Allows people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
## Same thing without a password
# %wheel ALL=(ALL) NOPASSWD: ALL
....
....
我想从以下行中删除#.
...
# %wheel ALL=(ALL) NOPASSWD: ALL
...
最佳答案
原文链接:https://www.f2er.com/linux/440657.html