Last time I’ve experienced uncommon problem with one of my hard drives. Due a power failure of my NAS server a hard drive could’t spin up.
This short article describe how to reset lost root password on Linux system. IMPORTANT: This method require physical access to the machine.
On GRUB screen select normal boot option:
Search for the line starting with “linux /boot/vmlinuz…” or similar depending of Linux distribution. This is the place where kernel and rootfs is selected. Change ‘ro’ option to ‘rw’ and add: Continue Reading
Sometimes happens that establishing of SSH (or other service) connection takes a really long time. This is often caused by failed reverse DNS lookups.
That situation can occur because of network problems or can be intentional action performed by system administrator.
How can you handle with it? Simply add this line to your sshd_config file.
Now SSH connection should be established significantly faster.
This option can be turn on using .vimrc file.
Open that file and type in the following line:
Save the file and open Vim again. You should see line numbers on the left.