“username” is not in the sudoers file. This incident will be reported. Privilege escalation for new user in Linux

Before providing with you resolution of above error, remember this case is for providing sudo access to new user which actually can be security risk if you are working in production enviornment. Do consult with you infosecurity team if new user really need sudo access. I am assuming here that you are already aware of … Continue reading “username” is not in the sudoers file. This incident will be reported. Privilege escalation for new user in Linux

Advertisement

(CentOS-8) Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist

While migrating my kubernetes cluster from Docker runtime engine to CRI-O, I faced error below, [root@cntmaster ~]# yum update CentOS Linux 8 - AppStream 59 B/s | 38 B 00:00 Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist This error occured since I am using old CentOS … Continue reading (CentOS-8) Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist

Adding Virtual Disk in Linux using LVM Framework – Part 2

In Part 1, we have allocated free space of Virtual Disk 1, to existing volume group by creating new partition from same disk. However, we may run in scenario where whole disk 1 is fully utilized and we need to add second disk for arranging free space for logical volumes. Some use cases, like syslog … Continue reading Adding Virtual Disk in Linux using LVM Framework – Part 2

Adding Virtual Disk in Linux using LVM Framework – Part 1

LVM or Logical Volume Manager is a device mapper framework to organize and manage virtual/physical disks mounted on linux. We can use lvm to create volume groups of underlay physical disks and allocate blocks from this group to different partitions of our Linux system. This framework is supported on various linux distribution, for this blog … Continue reading Adding Virtual Disk in Linux using LVM Framework – Part 1