----------------------------
user1 : no issue login user
user2 : passwd lost user
----------------------------
1. ssh login user1
2. change root user
3. edit /etc/shadow
4. remove user2 paswd field and save
5. change user2
6. set passwd temporally
7. send temporal-passwd to user2 for changing his/her user passwd
https://www.layerstack.com/resources/tutorials/Resetting-root-password-for-Linux-Cloud-Servers-by-booting-into-Single-User-Mode
CentOS7 ½Ì±Û¸ðµå ºÎÆÃ
https://itgameworld.tistory.com/57
CentOS6 ½Ì±Û¸ðµå ºÎÆÃ
https://kanziw.com/53
¿ø°ÝÀÌ¶óµµ °¡´ÉÇÑ ¹æ¹ýÀÌ ÀÖ½À´Ï´Ù.
Æнº¿öµå¸¦ ÀÒ¾î¹ö¸° »ç¿ëÀÚ °èÁ¤ÀÌ root ÀÎ °æ¿ì¿¡´Â
¼¹ö ±âÁ¾À̸é IPMI, iDrac, ILO µîÀ¸·Î Á¢¼ÓÇؼ À§ ¼³¸í ¹æ¹ýÀ¸·Î ½Ì±Û¸ðµå ºÎÆÃÇÏ¸é¼ º¯°æ ÇÏ½Ã¸é µË´Ï´Ù.
ÇÏÁö¸¸ "»ç¿ëÀÚ°èÁ¤ Æнº¿öµå¸¦" À̶ó°í ÇϼÌÀ¸´Ï ...
Á¤»ó ºÎÆÃµÈ »óÅ¿¡¼ ÀÏ¹Ý »ç¿ëÀÚ °èÁ¤À¸·Î ¸®¸ðÆ® ·Î±×ÀÎ ÇÏ½Ã°í ½´ÆÛÀ¯Àú·Î °èÁ¤ º¯°æ ÇϽŠÀÌÈÄ¿¡ /etc/shadow ÆÄÀÏ¿¡¼
Æнº¿öµå¸¦ ÀÒ¾î¹ö¸° »ç¿ëÀÚ°èÁ¤ÀÇ Æнº¿öµå field ºÎºÐ¸¸ Áö¿ì°í ÀúÀåÇÑ ÀÌÈÄ¿¡ ÇØ´ç °èÁ¤À¸·Î º¯°æÇÏ°í Àӽà Æнº¿öµå¸¦ ¼³Á¤ ÇÏ¸é µË´Ï´Ù.
----------------------------
user1 : no issue login user
user2 : passwd lost user
----------------------------
1. ssh login user1
2. change root user
3. edit /etc/shadow
4. remove user2 paswd field and save
5. change user2
6. set passwd temporally
7. send temporal-passwd to user2 for changing his/her user passwd
¿ø°ÝÀ¸·Î´Â ºÒ°¡´É ÇÕ´Ï´Ù.
¿ø°ÝÀº ¼¹öÀÚü¿¡ iKVM ±â´ÉÀ¸·Î ÄܼÖÀ» Á¢¼ÓÇÑ ÈÄ¿¡ ÇÒ ¼ö Àִ°Ŷó. ¿ø°Ý iKVM(IPMI, idrac iloµî) ±¸ÃàÇؼ ¾²°í ÀÖ´Ù¸é °¡´ÉÀÌ°í ¾Æ´Ï¸é ¹°¸®¼¹ö ¾Õ¿¡¼ ½Ì±Û¸ðµå Á¢¼Ó ÈÄ Ãʱâȸ¦ ÇÏ¼Å¾ß ÇÕ´Ï´Ù.