
15 Oct
2010
15 Oct
'10
11:54 p.m.
Gregory Machin wrote:
Hi Sudo has me boggled ..... I'm trying to configure a group %linuxadmins .. My account is a member of linuxadmins , when I sudo iptables -h I get "sudo: iptables: command not found". If I sudo /sbin/iptables -h it works fine.
If you sudo bash and then echo $PATH, what do you see? I'm guessing /sbin won't be in it -- sudo uses the target account's $PATH, not your account's. butting