Support Questions

Find answers, ask questions, and share your expertise

run install by root, but always get error : "root is not in the sudoers file. This incident will be reported." why installer try to 'sudo'?

avatar
Expert Contributor

I checked all files requiered FQDN in /etc/sysconfig/network, /etc/hosts.., and add root ALL=(ALL) NOPASSWD: ALL at end of sudoers file. why it always complain about root is not in sudoers file? and error only occurs when you do 'sudo' as root user.

is it possible a bug in installer?

1 ACCEPTED SOLUTION

avatar
Guru

can you please print output of /etc/sudoers file ?

If you have added your user to sudousr file then the cleanest way of doing things is probably to grant the root group to your user. For instance,

to add user oracle to the admin group:

usermod -aG root root

View solution in original post

10 REPLIES 10

avatar
Master Mentor

@Robin Dong Any updates?