July 2, 2015

Generate Random Password on Linux

Generate AlphaNumeric Random Password

[mitesh@Matrix ~]$ cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 15 | head -n10
k8eViiHzPvquY18
5niBD7oMDNwr9aF
cdqas4okZ9L9jLx
0C8X3s2g6I1RmKc
6Gafnp9ttaRmlHX
FrgSa94hNwoEibR
zipj2iWfA3ct368
g6BrhR3edlxEPeW
vjZ9zlde3ZXdslh
sn2BbDk4HEW101q

Generate AlphaNumeric & Symbols Random Password

[mitesh@Matrix ~]$ cat /dev/urandom | tr -dc 'a-zA-Z0-9!@#$%^&()'| fold -w 15 | head -n10
(QacABq(&kHXWge
v3OX@Ku@CH4A)yB
DdS#LW^)bzXZc$#
zony@vzx@UMj5s0
myxs#h7w(pn2lrF
wjky8a79KigEVm1
V8NMMkuV)^!I17#
VNuQ0m^6ksejNY6
Cvkd(Teawofvzk7
qN7sZVOI0kwwZ#K

Generate Random Password Using openssl command

[mitesh@Matrix ~]$ openssl rand -hex 64 | fold -w 15  
95aeaedcc6b5214
d0af42129cba416
c21b28bdf34fc46
b97302c5255114e
68baeecb1fbc750
130bd41520805ba
8371ba327971627
a9c51eab84050b0
97a61595

Generate Random Password Using pwgen command

# Let's install pwgen command
mitesh@Matrix ~]$ sudo apt-get install pwgen

# Let's Generate Some Random Passwords
mitesh@Matrix ~]$ pwgen -cny
Kae)Z2uv ahQu2Zu= It@oh3Iz lo'uni4H ahH:eeJ1 Wath/aP2 moo4Jee$ ooN[ee4x
iesha\V4 ahCha_P8 joa3El)u Oaj4na.k ahb4Ep(i zoo+Ba2u Yuc?ei4o ooz8oaY%
Pho7aw|u Eiha"e0o hae>K4og Rus4xai( Eu+la0Vi EiD`eit2 Eiwe#th1 Gai+w'e3
SheB7ai< Xah#To8l hie9waP_ Gah+g4ju cho<es6A Hoh,gh3e ooL8bah^ iCie`s7a

Related Posts:

  • How to Findout Your System Information This article will teach you how to find out system information, such as Operating System (OS) Serial Number Processor RAM MAC Address Linux Find out Manufacturer, Product Name and Serial Number [mitesh@Matrix ~]$ sudo… Read More
  • 10 ví dụ sử dụng câu lệnh netstat Câu lệnh netstat hiển thị mạng lưới thông tin như kết nối mạng, bảng định tuyến, giao diện mạng, các kết nối… Trong bài viết này chúng ta xem xét 10 câu lệnh netstat thường được sử dụng nhất: 1. Hiển thị tất cả các cổng (c… Read More
  • Tìm top 10 file/thư mục chiếm nhiều dung lượng nhất trên Linux Trong một số trường hợp, bạn cần tìm nhanh xem file hay thư mục nào đang chiếm nhiều dung lượng nhất trên ổ cứng. Và thông thường, chúng ta sẽ cần tìm ở một số thư mục chính có khả năng chiếm nhiều dung lượng như /tmp, /home… Read More
  • Làm gì khi Linux full disk ? Vấn đề HĐH linux full disk là một vấn đề khá rắc rồi với những ai quản trị web trên Server Linux, VPS. Nguyên nhân có thể do các file log web, mail queue, log mail…. Vậy làm thế nào để tìm nhưng file hay thư mục nà… Read More
  • (98)Address already in use: make_sock: could not bind to address 0.0.0.0:8080 Summary: In this post i tried to explain how to resolve the issue of apache bind address. The issue is Apache: could not bind to address to port (make_sock). If you are going to upgrade server software, or sometime you… Read More

0 comments:

Post a Comment