°Ô½Ã¹° 1,369°Ç
   
·£´ý Æнº¿öµå »ý¼º
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2015-04-01 (¼ö) 02:11 Á¶È¸ : 6364
±ÛÁÖ¼Ò :
                                
·£´ýÀ¸·Î Æнº¿öµå¸¦ »ý¼º/¾Ïȣȭ/º¹È£È­ÇÏ´Â ¹æ¹ý
¡Ø º»¹®¿¡¼­´Â Ubuntu ȯ°æ¿¡¼­ÀÇ ¿¹¹®À¸·Î ´Ù·ç¸ç RHEL °è¿­¿¡¼­µµ Å©°Ô´Ù¸£Áö ¾Ê½À´Ï´Ù.
OS : Ubuntu 14.04 x86_64

Windows ¿Í LInux ¸ðµÎ Áö¿øµÇ¸ç RHEL/Debian °è¿­¿¡¼­´Â YUM/APT ¸¦ ÅëÇؼ­ ¼³Ä¡°¡´ÉÇÕ´Ï´Ù.
Ubuntu
mojily@chonnom:~# apt-get install pwgen

CentOS
mojily@chonnom:~# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
mojily@chonnom:~# yum install pwgen
mojily@chonnom:~# pwgen 10 1     # [Æнº¿öµå ±æÀÌ]  [Æнº¿öµå »ý¼º°¹¼ö]
uGee5Rieb7 
 :: Usage: pwgen [ OPTIONS ] [ pw_length ] [ num_pw ]

mojily@chonnom:~# pwgen 10 3
mei6kah8Oh reisiShoh0 ithei8Ki7m 

Æнº¿öµå ±æÀÌ 50ÀÎ  ·£´ý°¹¼ö »ý¼º
mojily@chonnom:~# pwgen 35
vaeshooWi3phush5fuorounoh6Aighae2ja sie0eeDooshoh2geut5saeYooleTie7jo4a
aebe7pai8bai0oP5eeph7zae6seephohtie chu3Phohng1Aethub5eyitoh4umohng7mai
uS9Ho5heQuo6caichi7ooc8shoo8OoYee6e jaeseezoc3reiSh0oophae7iXi1ooxooxoJ
eaYeeh0Wugh3zei5eG9yibol5ahth4yaizi Ieh9ohs9jich9eis4ooLaemeiX7Ohgaifie
woo7eu8Eingai4aithozi1quiepheiqu8ai eip8Reixo8at9iedah9eethaiX8maek2Iet
ieghaeYing6ohdoht5cahT2keengoSaebi9 zoopug2Aenahz1uph6uthooshe6giebe6ee
cohr1hae6jaeM0thoh2izeeyieneefu4aep vohphob7ooRie7eeX8ohCha8ohPhaeGov9i
Oh0buthokaiGhud9wiu4aecu7zeeph2QuoZ leimahCh4aech6PheWoxohseiwoh9ahwoot
ziePa1saetio7EoWiuSaijooshee8ahvaiJ buwi7ohXiepoo5eeMoqu7eagha4ais2mi0h
aas6eej0aeWac0Quei3ohch0Ohmei8kebei iev9sahtao8gahfahk8aeliNg0xier2ieng
iph6aich1le6aoYot5ebooWais1teigooxu nah2eitiegh7eiw7IeC2eikaim0laemaish
Xu7OodaiY9uu1taineBae6Goh7vae4Paepe ohv4uya9oozevughuyeithoi0aiNguosi2J
EeZooThiew7iiS0OpiPeivi9dei6zohl9af aiy2iseevie3oquiph0Ahquei3oheigh9Ai
FeekezooGhooru3xech2bu5jahmaiQu0wee iu5meyoox0Gohs5aiphich2heiCh2ohrai3
ahg6veibah3diePaeboom2kee5eilee6yoh eengai9Ahpothoo8Aecu7ceegoo1vei2eiD
Eetheo7eelieraarae0eeQu1eiroaCet8li iemiLiefah3zahcoh4zohCinieJai3KeiV9
ohdie3phahch2heeNg4hoobe0Ahf6yuiti7 eaPi7agein9ThiewaeD4eeGoocho0yai7co
aiGheTie5ohgh9ooc1neica5Vaejiph9ooz aeCh1thaich1Fieciego4aeVee8oquoh1sh
ung2tee0caayaos9Ahleev9chohWohtia7a fie6ohhaeshenohlaiQue6ueghahqueam0O
Ouquahrengieteixede0oguj2aot5yiesah mud8efahSeereimiexie2eiR9ooneirahRo


2. makepasswd
mojily@chonnom:~# apt-get install makepasswd
mojily@chonnom:~# makepasswd 
ehNGTpG2YU
 :: ¸í·É¾îµÚ¿¡ ¿É¼Ç°ªÀ» ÀÔ·ÂÇÏÁö ¾ÊÀ¸¸é ±âº»±æÀÌ´Â 10

mojily@chonnom:~# makepasswd --chars 20
IeIAJz1t4EzM1TDzUYKB

mojily@chonnom:~# makepasswd --chars 20 --count 5
5gvgdtBGIM37dbJaCE4i
xx8UVoCR8WDvaHI23YyK
C8Vag1TvhKBN5mFj7ujX
7u7m83geBpxy4KBP33pm
NaJnpcHX9GK64ntMHL5N


3. mkpasswd
mojily@chonnom:~# apt-get install whois
mojily@chonnom:~# mkpasswd mojily
I9cLLjK6mQK0Y
 :: Usage: mkpasswd [OPTIONS]... [PASSWORD [SALT]]


4. openssl ¾Ïȣȭ
¾Æ·¡ ¿¹¹®Àº ¾ç¹æÇâ(block) ¾Ïȣȭ aes-256-cbc ¾Ë°í¸®ÁòÀ» ÀÌ¿ëÇؼ­ Æнº¿öµå ¾ÏȣȭÇßÀ¸¸ç libmcrypt 2.4.x ÀÌ»ó Áö¿ø, ÀԷ°ª 32byte¸¶´Ù µû¶ó °á°ú°ª 32byte´ÜÀ§·Î Áõ°¡ÇÏ´Â ¹æ½ÄÀÔ´Ï´Ù.

mojily@chonnom:~# echo chonnom.com | openssl enc -aes-256-cbc -a -salt -pass pass:mojily
U2FsdGVkX1/WmXnsdVjGsebzxzPISITd0qV3X1Pqliw=

¡Ø salt ´Â ´Ü¹æÇâ Çؽà ÇÔ¼ö¿¡¼­ ´ÙÀÌÁ¦½ºÆ®¸¦ »ý¼ºÇÒ ¶§ Ãß°¡µÇ´Â ¹ÙÀÌÆ® ´ÜÀ§ÀÇ ÀÓÀÇÀÇ ¹®ÀÚ¿­
 :: ¾ÏÈ£ ¾Ë°í¸®Áò (Cipher commands)
aes-128-cbc       aes-128-ecb       aes-192-cbc       aes-192-ecb       
aes-256-cbc       aes-256-ecb       base64            bf                
bf-cbc            bf-cfb            bf-ecb            bf-ofb            
camellia-128-cbc  camellia-128-ecb  camellia-192-cbc  camellia-192-ecb  
camellia-256-cbc  camellia-256-ecb  cast              cast-cbc          
cast5-cbc         cast5-cfb         cast5-ecb         cast5-ofb         
des               des-cbc           des-cfb           des-ecb           
des-ede           des-ede-cbc       des-ede-cfb       des-ede-ofb       
des-ede3          des-ede3-cbc      des-ede3-cfb      des-ede3-ofb      
des-ofb           des3              desx              rc2               
rc2-40-cbc        rc2-64-cbc        rc2-cbc           rc2-cfb           
rc2-ecb           rc2-ofb           rc4               rc4-40            
seed              seed-cbc          seed-cfb          seed-ecb          
seed-ofb          


5. openssl º¹È£È­
aes-256-cbc ¾Ïȣȭ ¾Ë°í¸®ÁòÀ» ÀÌ¿ëÇؼ­ Æнº¿öµå º¹È£È­
mojily@chonnom:~# echo U2FsdGVkX1/WmXnsdVjGsebzxzPISITd0qV3X1Pqliw= | openssl enc -aes-256-cbc -a -d -salt -pass pass:mojily
chonnom.com

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.