EM12c install Failing – sudoer file problems

Error:- EM12c – sudo: no tty present and no askpass program specified
solution :-

1. Disable the ‘requiretty’ and visiblepw option in the ‘sudoers’ file.
2. Add oracle or user used for installation of em12c as :-

oracle ALL=(ALL) ALL} else {