grant user root permissions oracle linux code example
Example: grant user root permissions oracle linux
usermod -aG root user or usermod -aG sudo user
# the in order to avoid password set edit permission to file:
# /etc/sudoers and add to it in the last line:
userALL=(ALL:ALL) NOPASSWD: ALL