• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for September 2016

CentOS / RHEL 6 : How to password protect grub (Password-Protected Booting)

by admin

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 […]

Filed Under: Linux

CentOS / RHEL 7 : How to extract initramfs image and edit/view it

by admin

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: # […]

Filed Under: CentOS/RHEL 7

CentOS / RHEL 6 : How to extract initramfs image and edit/view it

by admin

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 […]

Filed Under: Linux

Solaris : How To Create and Mount NFS share that is Restricted to Certain Hosts

by admin

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 : […]

Filed Under: Solaris

« Previous Page

Primary Sidebar

Recent Posts

  • aws ec2: CLI for AWS EC2 (Command Examples)
  • aws cur – Create, query, and delete AWS usage report definitions (Command Examples)
  • aws configure – Manage configuration for the AWS CLI (Command Examples)
  • aws cognito-idp: Manage Amazon Cognito user pool and its users and groups using the CLI

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright