Use this information to configure sudo
access to the users who can run
Cloud Application Business Insights
installation.
Before you begin
If needed, create a user, and set the password to assign root
privileges.
Run the command as root
user.useradd <username>
Procedure
-
To enable
sudo
for the username on RHEL, add the username to the
wheel
group. Run the command as root
user.
usermod -aG wheel <username>
- As a superuser or administrator, run the
visudo
to edit the
/etc/sudoers file. Make sure that the lines are not commented. It opens the
/etc/sudoers file in a text
editor.
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
root ALL=(ALL) NOPASSWD:EXEC:ALL
## Allows members of the 'sys' group to run networking, software,
## service management apps and more.
# %sys ALL = NETWORKING, SOFTWARE, SERVICES, STORAGE, DELEGATING, PROCESSES, LOCATE, DRIVERS
## Allows people in group wheel to run all commands
%wheel ALL=(ALL) ALL
## Allows people in group wheel to run all commands without password
%wheel ALL=(ALL:ALL) NOPASSWD:ALL
- Save the file and exit.
- Verify that the new user is available in
wheel
group with these
commands: grep 'wheel' /etc/group
The following output must
appear.
wheel:x:10:<username>
- Verify that the new user can run the installation of Cloud Application Business Insights as
sudo
by using these commands:
- Switch to the new user.
- Run the Cloud Application Business Insights installation
script.