Tag Archives: solaris

Linux kvm exit from a virsh console command

Linux kvm exit from a virsh console command

I installed KVM on Ubuntu server as described here. However, I am unable to get out of a ‘virsh console domain’ command. How can I exit from a “virsh console” connection over ssh based session?
Halal Vitamins

Powered by WPeMatico

How to remove all old and outdated brew packages on MacOS

How to remove all old and outdated brew packages on MacOS

I am using Homebrew to install packages on MacOS Sierra or Mac OS X. I noticed multiple version of bash or curl installed in /usr/local/Cellar/bash/. How can I delete an outdated version of brew packages and only keep the latest version on my system?
Halal Vitamins

Powered by WPeMatico

How to speed up OpenSSL/GnuPG Entropy For Random Number Generation On Linux

How to speed up OpenSSL/GnuPG Entropy For Random Number Generation On Linux
Entropy is nothing but the measure of “randomness” in a sequence of bits. The PRNG ( pseudorandom number generator ) is a special device (e.g. /dev/random on Linux) to create randomness from server hardware activities. It uses interrupts generated from the keyboard, hard disk, mouse, network and other sources. The random number generator gathers environmental noise from device drivers and other sources into an entropy pool. The randomness usually used for security purposes like creating TLS/SSL keys and the quality source of random bits is critical. For example, OpenSSL APIs can use quality randomness to make your program cryptographically secure. However, a poor source of randomness could result in loss of security. In this post, I will cover haveged and rng-utils/rng-tools to generate random numbers and feed linux random device for your virtual or dedicated Linux server.
Halal Vitamins

Powered by WPeMatico

Book Review: PAM Mastery

Book Review: PAM Mastery
PAM Mastery Book ReviewLinux, FreeBSD, and Unix-like systems are multi-user and need some way of authenticating individual users. Back in the old days, this was done in different ways. You need to change each Unix application to use different authentication scheme. Also, authentication schemes differed between a variant of Unix systems. Porting was a nightmare. For example to use Windows Server (Active Directory) or LDAP for authentication you need to make changes to an application. Each application had its way of authenticating users. So Open Group lead to the development of PAM for the Unix-like system. Today Linux, FreeBSD, MacOS X and many other Unix-like systems are configured to use a centralized authentication mechanism called Pluggable Authentication Modules (PAM). The book “PAM Mastery” deals with the black magic of PAM.
Halal Vitamins

Powered by WPeMatico

We’ve all been there when it comes to sysadmin or programming jobs :(

We’ve all been there when it comes to sysadmin or programming jobs 🙁

Yup, sad but truth:

I no longer care. I just wanna go home and sleep

I no longer care. I just wanna go home and sleep

And we have “Wisdom of the Ancients” too from XKCD

It is even worst when poster was.... YOU in 2003.

It is even worst when poster was…. YOU in 2003.

Halal Vitamins

Powered by WPeMatico

Touch ID Support for sudo in MacOS Terminal for MacBook Pro

Touch ID Support for sudo in MacOS Terminal for MacBook Pro

Well, that was fast. Touch ID is a fingerprint recognition security feature, designed and released by Apple. It is currently available on the iPhone 5s/6/7 and Macbook pro-2016 editions. Many consider it as a huge security win for the MacBook Pro’s. This sounds amazing feature for command line users.

Say hello to sudo-touchid

sudo-touchid is a fork of sudo with Touch ID support on macOS (powered by the LocalAuthentication framework). Once compiled, it will allow you to authenticate sudo commands with Touch ID in the Terminal on supported Macs (such as the late 2016 MacBook Pros). Since Darwin sources for macOS 10.12 are not available yet, this project is based on sudo sources corresponding to OS X 10.11.6 and obtained from opensource.apple.com.

=> Download and usage information.

Halal Vitamins

Powered by WPeMatico