Hi, I have the following sudoers file: Host_Alias FIREWALLS = fwqa,localhost Defaults:%fwadmin !lecture %fwadmin FIREWALLS = NOPASSWD:/etc/firewall/fwqa.fw %fwadmin FIREWALLS = NOPASSWD:/etc/firewall/tmp/fwqa.fw Defaults always_set_home Defaults env_reset root ALL=(ALL) ALL %wheel ALL=(ALL) ALL My user (sunny) is member both of fwadmin and wheel groups. Unfortunately, it looks like the wheel rule takes precedence over the fwadmin rule, and it always asks me for password when I want to execute the fwqa script. How do I change this, so my user will not be asked for password for that particular script? But be asked for everything else? There may be other users, some of them in wheel, some of them in fwadmin, so I want to keep the rules that way - wheel users ask for password for everything (even the firewall) if it is not fwadmin. Any ideas? -- -- Svetoslav Milenov (Sunny) Windows is a 32-bit extension to a 16-bit graphical shell for an 8-bit operating system originally coded for a 4-bit microprocessor by a 2-bit company that can't stand 1 bit of competition.
participants (1)
-
Sunny