Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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?