How to fix: user is not in the sudoers file error

How to fix: user not in sudoers file error

The purpose of this tutorial is to show how to fix the RHEL7 User Not In Sudoers File Error on all major Linux distributions. When trying to execute Linux commands with root privileges via the sudo command, you will receive an error message if the current user is not in the sudoers file. This is a security feature on Linux systems to stop ordinary users from esclating their commands to administrator privileges.

Read more

Identifying the CentOS Release version

How to check CentOS version

The purpose of this tutorial is to show how to check the CentOS version of your Linux system. It’s possible to do this from either command line or GUI, so you can use whichever method is more convenient for you. Classic CentOS is nearing its end of life and will be replaced by CentOS Stream. Knowing your CentOS version will give you some insight into how long your system will continue to be supported.

Read more

Managing system firewall on Red Hat Enterprise Linux

Redhat Disable Firewall – start, stop, enable, disable

firewalld is the default firewall on Red Hat Enterprise Linux, and it’s enabled by default, but it’s possible to disable the firewall on Redhat, and you’ll also see how to check firewall status in Linux. Normally, there should not be a need to disable the firewall, but it may be quite handy for testing purposes or other scenarios. In this tutorial, you’ll see how to check the status of firewalld, enable or disable the service from starting automatically upon system boot, and how to stop or start the firewalld service in RHEL.

Read more

How to perform unattended linux installations with kickstart

How to perform unattended Linux installations with Kickstart

Kickstart is an automatic installation method natively available on those distributions which uses the Anaconda installer: Red Hat Enterprise Linux (and its clones) and Fedora. It can also be used to install Ubuntu, actually, but in that context it acts as a layer of compatibility to the debian-native preseeding method. With Kickstart we can perform unattended, customizable and reproducible installations.

Read more

Check RPM package dependencies on Rhel/Centos/Rocky

Check RPM package dependencies on Rhel/Centos/Rocky

Files with the .RPM extension are software packages intended for installation on Red Hat Enterprise Linux or one of its derivative Linux distributions, such as CentOS, AlmaLinux, Rocky Linux, or Fedora. When you install software by using an RPM file, your system may need to install dependencies for it to run correctly. This is common behavior for the dnf package manager as well, so you may already be familiar with package dependencies. In this tutorial, we will show you how to check the package dependencies for an RPM file on RHEL and similar distros.

Read more

Prompt asking us to register the Red Hat system in order to receive updates

There are no enabled repositories RHEL solution

You may receive a There are no enabled repos error message when trying to install system updates on a fresh Red Hat Linux install. This occurs when you have not enabled your RHEL subscription. In this tutorial, we will take you through the step by step instructions to register your RHEL subscription, enable the package manager, and finally install updates and remedy the error message for good.

Read more