How to Add a User to Sudoers in CentOS Linux

How to Add a User to Sudoers in CentOS Linux

There’s no need to log in as root or temporarily change the account to root in order to run admin commands on Linux. The “sudo” command will allow any user to run root commands. But first, you need to configure the account properly. You can either explicitly add the user to the “sudoers” file, or add them to a special group. Both methods are outlined here with screenshots.

How to Undo a Yum Install Including Dependencies on CentOS/RHEL

How to Undo a Yum Install Including Dependencies on CentOS/RHEL

“Yum remove” doesn’t remove all the dependencies that were installed with the original “yum install” command. Instead, we should use the “yum history” command to completely revert a yum install so that all the dependencies are removed as well. #CentOS #RHEL #Linux

Disclosure: We receive a compensation from some of the companies whose products or services are presented on our website.