Originally Posted by zulkifal
Thanks "steelneck" for reply but that command doesnt seem to work.
Well, in first post you wrote "NO PASSWD" and now it is "NOPASSWD", could that be the root to that my line did not work for you?
As to the question you wrote now:
sed 's/# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/'
That one will not hit the line containing NOPASSWD