Categories
Uncategorized

How to lock Linux console session

It is easy to lock screen when using any of the available desktop environment or even basic X Window utilities. The more interesting thing is to achieve the same functionality on text only based system.

Categories
SecOps

How to crack archive password faster

A week ago I wrote about a couple of interesting applications that can crack passwords, but they were not as fast as I thought. After investigating this topic further, I ended up using a community-enhanced version of John the Ripper.

Categories
Uncategorized

How to crack archive password

I have recovered old backup only to learn that I do not remember password to the found archive. As a result, I checked out two command-line applications to crack passwords used to encrypt zip, 7z or rar archives.

Categories
SysOps

How to enforce read-only mode on every connected USB storage device

Today, I will show you how to put every connected USB storage device in read-only mode using udev dynamic device management, blockdev utility, and systemd service unit configuration.

Categories
SysOps

How to copy answers to the configuration questions for Debian packages

Human memory is sometimes unreliable, so it is not always possible to answer in the same way to the configuration questions. Fortunately, this process can be automated using debconf utilities.

Categories
SysOps

How to manage system services on Debian Jessie

Debian Jessie is using systemd as the default system and service manager. I will not argue about it, but instead, I will briefly introduce the whole thing.

Categories
Uncategorized

How to use chkconfig on Debian Wheezy

I have already described chkconfig utility in CentOS – How to manage system services blog post, but today I want to mention that you can also use it to manage services on Debian Wheezy.

Categories
Uncategorized

How to clear up pending resync on RAID array

I have already wrote a couple of posts about software RAID setup and recovery. Today I will briefly describe how to switch array to read-write state and begin resync process.