6 Granting sudo Access to Users
In Oracle Linux, only administrators can perform privileged tasks on the system.
To grant users extra privileges, an administrator can use the visudo
command
to either create a configuration file in the /etc/sudoers.d
directory or
change the /etc/sudoers
file directly.
Privileges that an administrator assigns by adding configuration files in the
/etc/sudoers.d
directory are preserved between system upgrades and
skipped automatically by the sudo
command if they're invalid. Administrators
can also change file ownership and permissions for each configuration file. For more
information, see Adding User Authorizations in the sudoers.d Directory.
For information on assigning privileges by editing the /etc/sudoers
file
directly, see Adding User Authorizations in the sudoers File.