Resetting the Root Password of RHEL-7 / systemd

Environment Red Hat Enterprise Linux 7. Issue How to reset the root password of a RHEL-7 / systemd ? RHEL-7 ask for a root password even after booting in Single user mode. Not able to change the root password in single user mode Resolution 1) Boot your system and wait until the GRUB2 menu appears. […]

How to create the yum repository on RHEL 7

How to create the yum repository on RHEL 7 ? There is no much difference in package management  in  RHEL 7 when we compared to RHEL 6 . We can set up the yum repository using the DVD or you can dump the DVD contents to the filesystem and set-up it. Later on , you can make that […]

RHEL 7: gain access to VM during boot process

*possible uses would be to reset root password or if selinux results in freezing and cannot boot at the GRUB 2 menu type e to edit at the kernel line (starting with linux16) add the following statements at the end rd.break enforcing=0 or rd.break selinux=0 note: rd.break asks for break at early stage of booting, […]

Centos – SSH fail /dev/null character device

issue: ssh daemon Fails to start on server trying to start the ssh service results: # /etc/init.d/sshd start Starting sshd: [ OK ] # /etc/init.d/sshd status openssh-daemon is stopped Looking at /var/log/secure logs ; the following error is noted: sshd[19546]: fatal: daemon() failed: No such device This is related to /dev/null  – should be a […]

Digital Black Hole /dev/null

anything sent to /dev/null will be eaten like a digital black hole ONLY try this on test VM if you want to destroy !  do not cut and paste on live or production systems – use at your own risk. For testing purposes only – DESTRUCTIVE COMMAND! mv / /dev/null

SolusVM – OPenVZ containers

Kill an OpenVZ Container – e.g id 900 vzctl stop 900 Use –fast switch to kill the OpenVZ Container – crude non graceful vzctl stop 900 –fast Kill processes inside a OpenVZ Container ps ax | awk ‘{print $1}’ | xargs vzpid | grep 900 | awk ‘{print $1}’ | xargs kill -9 Commonly used […]


Best Buy Co, Inc.
Best Buy Co, Inc.