ascii.io
From ascii.io ascii.io lets you record your terminal sessions and share them with other geeks simply by running asciiio command in your term. It is fully open-source platform with aim…
From ascii.io ascii.io lets you record your terminal sessions and share them with other geeks simply by running asciiio command in your term. It is fully open-source platform with aim…
jitsi is an audio/video Internet phone and instant messenger written in Java. It supports some of the most popular instant messaging and telephony protocols such as SIP, Jabber/XMPP (and hence…
In a few days, cPanel intends to release EasyApache 3.14. On March 20, 2012, we announced the End of Life of PHP 4. EasyApache 3.14 will remove support for PHP…
An easy way to duplicate an existing cpanel account is: 1. Backup the existing account /scripts/pkgacct domaina 2. Change the domain name and username of the existing cPanel account via…
From Fishshell.com Fish: the friendly interactive shell - fish is a user friendly command line shell for UNIX-like operating systems such as Linux. fish is included in Ubuntu universe. It…
To install Owncloud: create a seperate subdomain cpanel user (your preference) wget http://download.owncloud.org/releases/owncloud-4.0.4.tar.bz2 tar -xjf path/to/downloaded/owncloud-x.x.x.tar.bz2 cp -r /path/to/owncloud/* /home/user/public_html chown -R www-data:www-data /path/to/your/owncloud/install/data Note: data folder will not be…
How do I password protect / encrypt a file within Linux using OpenSSL ?
The file we will encrypt will be the file secretfile.txt.As you can see it is just a plain text file.
Encrypt File
Use the openssl comand to encrypt your file and then test the new file is fully encrypted.
$ openssl aes-256-cbc -salt -in secretfile.txt -out secretfile.txt.aes
enter aes-256-cbc encryption password:
Verifying – enter aes-256-cbc encryption password:
$ cat secretfile.txt.aes
binary data
Decrypt File
Decrypt the file and then confirm the decypted file is readable.
$ openssl aes-256-cbc -d -salt -in secretfile.txt.aes -out secretfile.txt
enter aes-256-cbc decryption password:
$ cat secretfile.txt
This is a secret file that we do not want anyone to read.
====================================== (more…)