ascii.io

  • Post author:
  • Post category:CLI

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…

Continue Readingascii.io

Jitsi

  • Post author:
  • Post category:Apps

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…

Continue ReadingJitsi

Fish

  • Post author:
  • Post category:CLI

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…

Continue ReadingFish

Owncloud on cPanel server

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…

Continue ReadingOwncloud on cPanel server

File Password Protection

  • Post author:
  • Post category:CLI

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…)

Continue ReadingFile Password Protection