i edited /etc/sudoers using visudo command so as to grant user sudo privilege without password as following :
userName ALL=(ALL:ALL) NOPASSWD:ALL
but it didn't work for me ,
any suggestions Thanks in advance
This question came from our site for professional and enthusiast programmers.
Questions on Server Fault are expected to relate to professional server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
Make sure that no rule below your mentioned rule are overriding it. From