The GRUB bootloader stores the password in a plaintext file, so any encrypted form of the password is required. To generate an encrypted password we may use grub-crypt command. Until now we have used the command grub-md5-crypt. But now MD5 is widely-considered broken. grub-crypt uses SHA-256 or SHA-512 hashes, which are considered more secure. The […]
Archives for September 2016
CentOS / RHEL 7 : How to extract initramfs image and edit/view it
In some cases you may want to extract the initramfs image file to check built-in contents. This post provides steps to extract initramfs image files for RHEL 7. Unlike previous version, on RHEL 7 using cpio command for the initramfs image file will not extract all files (or will give some error). For example: # […]
CentOS / RHEL 6 : How to extract initramfs image and edit/view it
In some cases you may want to extract the initramfs image file to check built-in contents. This post provides steps to extract initramfs image files for RHEL 6. Steps 1. Locate your initramfs image and check the file type. # ls -la /boot/initramfs-$(uname -r).img -rw-r–r–. 1 root root 16196566 Feb 4 2015 /boot/initramfs-2.6.32-358.el6.x86_64.img # file […]
Solaris : How To Create and Mount NFS share that is Restricted to Certain Hosts
For Solaris 10 On NFS server Run the below command to share the NFS to specific NFS clients only. # share -F nfs -o rw=[accesslist] /path/to/share The -o accesslist is required to limit the share. As shown in example below “client1″ and client2” has only been granted the access to the NFS share /exports : […]