Skip to main content

Posts

How to add a user into Super user group in Linux

Found this article to be useful that worked just fine for me to add a user to a super user group.  https://www.howtogeek.com/842739/how-to-add-a-user-to-the-sudoers-file-in-linux/   enu Close Desktop Submenu Mobile Submenu Hardware Submenu Web Submenu Cutting Edge Submenu Lifestyle Submenu Reviews Buying Guides Deals Sign in Newsletter How to Add a User to the sudoers File in Linux Dave McKay Updated  Sep 1, 2023 Hannah Stryker / How-To Geek   Key Takeaways Adding a user to the sudoers file allows them to temporarily gain administrative powers on Linux and perform necessary actions. Logging in as the root user is inadvisable due to the potential for catastrophic mistakes and the ability to manipulate and remove other users. Use the "visudo" command to open and edit the sudoers file, granting specific permissions to users or groups for executing commands with sudo. If a  sudo  command on Linux gets you a message that a user "is not in the sudoers file," you'll ne

How to Fix “Cannot find a valid baseurl for repo” in CentOS

Perform the steps as mentioned in this article to fix the yum repo mirrorlist URL issues. This worked for me just fine.  https://www.tecmint.com/fix-cannot-find-a-valid-baseurl-for-repo/  If you are getting Bad Gateway error related to fastestmirror. Do the following. vi /etc/yum/pluginconf.d/fastestmirror.conf Change  enabled=1  to  enabled=0  to disable the fastestmorror plugin. That should fix it.