How to Boot into Single User Mode in RED HAT 7 / CentOS 7
Single user mode
Data Privacy & Federal Government Priorities
What is the Federal Data Strategy? The use of data is transforming the world. The way the Federal Government provides, maintains, and uses data has a unique place in society and maintaining trust in federal data is pivotal to a democratic process. The Federal Government needs a coordinated and integrated approach to using data to […]
error – sudo: effective uid is not 0, is sudo installed setuid root?
Check the permission and ownership for sudo : [root@baselinux ~]# which sudo /usr/bin/sudo [root@baselinux ~]# ls -ld /usr/bin/sudo —s–x–x. 1 root root 123832 Jun 7 2017 /usr/bin/sudo if not own by root: chown root:root /usr/bin/sudo then chmod u+s /usr/bin/sudo
Quick tips and How-tos
how do I remove the chmod +t file permissions
Linux Log Management
A key best practice for logging is to centralize or aggregate your logs in one place, especially if you have multiple servers or tiers in your architecture. We’ll teach you Best Practices for Application Logging.
Linux Rescue Mode
Reinstall Corrupted Bootloader
Find and remove older file in Linux
With this, you will be able with the Linux find command to find all files older than 30 days and then execute rm command on them. The find utility on Linux allows you to pass in arguments, including one to execute another command on each file. We’ll use this in order to figure out what […]
What Is Inode?
There are no free file system inodes left
/var/lock/lvm/V_vg00: open failed: No space left on device
vgs /var/lock/lvm/V_vg00: open failed: No space left on device Can’t lock volume group vg00: skipping Red Hat Enterprise Linux 4/5/6 [root@shebanglinux subsys]# pvscan /var/lock/lvm/P_global: open failed: No space left on device Unable to obtain global lock. [root@shebanglinux subsys]# pvscan -vvv Processing: pvscan –vvv O_DIRECT will be used Setting global/locking_type to 1 File-based locking […]
NFS Stale File Handle error
NFS (Network File System) version 3 and 4 Sometime NFS can result in weird problems. For example, NFS mounted directories sometimes contain stale file handles. If you run command such as ls or vi you will see an error: Issue Clients mounting NFS filesystems report stale file handles What are some causes of stale file […]