As a Linux administrator, you should know how toadd, delete and grant sudo privilegesto users. Sometimes, you may give temporary sudo access to regular users for specific tasks like software installation or administrative work. Over the time, you might forget to revoke the sudo privileges. To ...
Imagine a collection of 40 computer systems and 70 users in a firm. Some employees run shifts while others work regular hours. Some have access to printing; others don't. The traditional way of working is to create local user accounts on each computer a user needs to access. Imagine the ...
Linux Systemis much secured than any of its counterpart. One of the way toimplement security in Linuxis the user management policy and user permission and normal users are not authorized to perform any system operations. If a normal user needs to perform any system wide changes he needs to u...
The familiarshutdowncommand now maps to systemd and executes timed shutdowns and reboots. You can usesystemctlif you wish, but being able to schedule the shutdown is helpful. In addition,systemctlalso offers suspend and hibernate options. Try to avoid bringing down the system when possible, ...
Now, verify that the filetecmint.sqlis added to the archive file. $ rar l tecmint.rar Add Files to the RAR Archive How to Set Password to RAR File This is a very interesting feature of therartool, which allows us to set a password to the RAR archive file using the following command...
For Fedora, RHEL, etc: su - dnf update dnf install sudo After the above installation is complete, you have to add the user tosudogroup using the following command usermod -aG sudo <yourusername> Then run thevisudofrom the terminal and the following line. Press CTRL+O and CTRL+X to sav...
The last method of installing NVIDIA drivers involves using the NVIDIA CUDA repository, which is frequently updated and supports Debian, Ubuntu, RHEL, and other popular Linux distributions. First, make sure to install the following packages, which might already be installed on your system: ...
To enablesudofor your user ID on RHEL, add your user ID to thewheelgroup: Become root by runningsu. Runusermod -aG wheelyour_user_id. Log out and back in again. Now you will be able to usesudowhen logged in under your normal user ID. You will be asked to enter the password for...
2. Add user to the wheel or sudo group In terminal run this command as a root user.(su root) [Fedora, RHEL, CentOS & Based OS] usermod -aG wheel USERNAME Here you can replace USERNAME with your actual username. For me its “manikandan” ...
Here are the steps to remove old unused kernels in RHEL, Fedora and RHEL-based systems such as CentOS, AlmaLinux and Rocky Linux. 1.Update your system: Before removing old kernels, it's recommended to update your system's packages and active kernel. You can do this by running the followin...