I wanted to compile sources using a makefile. When I compile the sources everything runs fine. The sudo asks for a password and after entering the password it resumes compiling and completes it. But the problem is I was trying to do the same in NetBeans but ended up getting an error.
sudo: no tty present and no askpass program specified
I did some research and found a solution ie, to disable the password for this user. But here the user is the root so how can I do it? Can someone help me with this?