Thursday, December 21, 2017

Sudo User: Steps To Add and Grant Sudo Privileges to Users in Linux

In order to add the user to sudoers file please find the steps below:

Logged in as root run the visudo command:

When we type this command, we will be taken into a text editor session with the file that defines sudo privileges pre-loaded. We will have to add our user to this file to grant our desired access rights.

Save and close the file

Now, when you are logged in as your oracle user, you can execute a certain command with root privileges by typing:

sudo "command"

No comments:

Post a Comment

  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...