Tag Archives: solaris

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

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

Interns are working hard to fix computer problems on National Cat Day

Interns are working hard to fix computer problems on National Cat Day

Here are interns in our office. They are working hard to fix server problems on national cat day 😉

Kittens working on computer

Kittens working on computer

We did receive some additional trouble tickets though. Tom’s TT read as follows,

I haven’t been able to find my mouse since the new intern fixed my computer.

Lmao.

Halal Vitamins

Powered by WPeMatico