How to Generate, Encrypt, Decrypt Random Passwords on RHEL Linux 7, CentOS 6 and Fedora 17-21

Channel:
Subscribers:
25,100
Published on ● Video Link: https://www.youtube.com/watch?v=2kwdLidH4aY



Category:
Tutorial
Duration: 7:16
1,717 views
2


Hello Everyone,

In this tutorial,

Let Us Install Generate/Encrypt/Decrypt Random Passwords in Fedora 21

You Can also Install in CentOS 7, Oracle Linux, Cloud Linux, Redhat Linux 6,7.

1. Generate a random unique password of length equal to 10 characters
Step1 :- yum install pwgen
Step2 :- pwgen 10 1
Step3 :- pwgen 50
Step4 :- yum install expect
Step5 :- yum –y install makepasswd --- As per choice
Step6 :- makepasswd --- Default is 10
Step7 :- makepasswd --char 50
Step8 :- makepasswd --char 20 --count 7 --- Generate 7 random password of 20cht.

2. Encrypt a password using crypt along with salt.

Salt is a random data which servers as an additional input to one way function in order to protect password against dictionary attack.

Step9 :- Yum install mkpasswd
Step10 :- mkpasswd cloudnetwork
mkpasswd cloudnetwork -s tt


4. Encrypt a string say “cloudnetwork is a video tutorials make in Linux,Ubuntu” using aes-256-cbc encryption using password say “cloudnetwork” and salt.

Step8 :- echo cloudnetwork-is-a-video-tutorials-make-in-Linux,Ubuntu | openssl
enc -aes-256-cbc -a -salt -pass pass:cloudnetwork




5. Decrypt the above string using openssl command using the -aes-256-cbc decryption.

Step9 :- echo U2FsdGVkX18Zgoc+dfAdpIK58JbcEYFdJBPM9oXWsgpvpdO/Z | openssl
enc -aes-256-cbc -a -d -salt -pass pass:cloudnetwork





NOTE :- For Any Clarification Please Below

Comment,
Like and
Share  us  and  help us to spread.

####--------------------------------------------------------------------------------------####
Subscribe :- http://www.youtube.com/user/itcloudnet?sub_confirmation=1
Website :- http://www.cloudnetwork.in
Facebook :- http://facebook.com/itCloudNetwork/
Twitter :- http://twitter.com/itcloudnet
Pinterset :- http://pinterset.com/itcloudnet
LinkedIn :- http://in.linkedin.com/pub/itcloudnet
Google+ :- https://plus.google.com/u/0/107923552480070716949/posts
Skype Id :- cloud.network1
E-Mail Id :- itcloudnet@gmail.com
####----------------------------------------------------------------------------------------####                         
Thanking You
Hope U Like it........




Other Videos By Cloud Network


2015-04-23How to Reset Root Password in Ubuntu Desktop 15.04 Vivid Vervet
2015-04-23Forget Root Password of Ubuntu Desktop 15.04 (Vivid Vervet) - 64Bit or 32Bit
2015-04-23How to Install Ubuntu 15.04 Live Desktop in Virtual Box
2015-04-23How to Install Ubuntu Releases 15.04 on Virtual Box with Full Screen Resolution - 64bit or 32bit
2015-04-23How to Install Ubuntu Desktop 15.04 (Vivid Vervet) in Oracle Virtual Box with Full Screen Resolution
2015-04-21How to Update Micromax Yureka (Kitkat 4.4.4 to Android 5.2) CyanogenMod 12.1 ROM
2015-04-17How to Install Mtop MySQL Database Server Monitoring in RHEL Linux 7, CentOS 6 & Fedora 21/22/23
2015-04-17How to Install VnStat PHP a Web Based Interface for Monitoring Network Bandwidth Usage on CentOS 7
2015-04-17How to Install VLC Media Player 2.2 in Ubuntu Desktop 14.04/15.04, Debian 8 & Linux Mint 17.2
2015-04-17How to Install Telegram Messenger Application on Fedora 17-23 Workstation
2015-04-17How to Generate, Encrypt, Decrypt Random Passwords on RHEL Linux 7, CentOS 6 and Fedora 17-21
2015-03-30How to Configure & Setup ACL in Redhat Linux 7, Ubuntu 15.10, Fedora 23 & CentOS 7
2015-03-30How to Install Ubuntu MATE 14.04.02 LTS on Virtual Box with Full Screen Resolutions
2015-03-30How to Install Android Studio with Java JRE/JDK 8 on Microsoft Window 7 | 8 | 10
2015-03-19How to Reset Root Password both in Mac OS X(Mavericks,Yosemite,Mountain Lion,Snow Leopard)
2015-03-19How to Install Mac OS X Snow Leopard 10.6.3 by using iAtkos S3 ML2 on Virtual Box
2015-03-19How to Resolve Bad or Corrupted Launch Configuration during Installation of Mac OS X
2015-03-18How to Install Microsoft Windows Server 2012 R2 With System Center 2012 R2 on Virtual Box
2015-03-1620 Basic Commands for Beginners Guide in Redhat Linux, CentOS, Fedora & Ubuntu, Linux Mint(Terminal)
2015-03-14How to Install Genymotion 2.5.2 (Android Emulator) in Linux Mint 17.2, Debian 8 & Ubuntu 14.10/15.04
2015-03-14How to Install Tilda in Ubuntu 15.04/14.10 LTS With Nifty Tilda AppTerminal



Tags:
CentOS
Oracle
Linux
GNU/Linux (Operating System)
Red Hat Enterprise Linux (Operating System)
Fedora (Operating System)
How-to (Website Category)
Oracle Database (Software)
Tutorial
Computer
Desktop
Windows
Basic
Ubuntu
Ubuntu (Operating System)
Maker
Computers
Software (album)
Free