When sudo is used, the user is not in sudoers file solution in the Linux operating system. When a common user uses sudo, this error is often reported, for example: [oracle @ DBA2 fd] $ sudo ps-ef | grep dbw [sudo] password for oracle: oracle is not in the sudoers file. this incident will be reported. [oracle @ DBA2 fd] $ the error is reported because the user oracle is not in The sudo configuration file and the oracle user has no permission to use sudo. solution: you can modify the attribute of the/ete/sudoer file as root by using the root user, and add oracle ALL under the root ALL line (similar to the root line) [root @ DBA2 etc] # chmod u + w sudoers [root @ DBA2 etc] # vi sud Add oracle ALL = (ALL) ALL to oers and change the sudoer attribute back to the original value: [root @ DBA2 etc] # chmod u-w sudoers [root @ DBA2 etc] # ll sudoers-r -- r ----- 1 root 3402 Sep 4 sudoers try sudo again, available; [oracle @ DBA2 ~] $ Sudo ps-ef | grep dbw [sudo] password for oracle: oracle 3140 1 0? 00:00:06 ora_dbw0_orcl2oracle 19299 17065 0 00:00:00 pts/2 grep dbw