µÎ°³ Áß ÇϳªÀΠƯÁ¤À¯Àú³×ÀÓ(da)·Î µé¾î¿Â °ÍÀÎÁö ¾Æ´ÑÁö ÆľÇÇÒ ¼ö ÀÖ½À´Ï±î? ¶Õ¸° °Í °°¾Æ¿ä..

¹Ú±âµÎ   
   Á¶È¸ 5576   Ãßõ 17    

log¸Þ¼¼Áö´Â ´ÙÀ½°ú °°½À´Ï´Ù.

Jun 1 15:53:50 tmp sshd(pam_unix)[16781]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=209.152.167.147 user=da
Jun 1 15:53:56 tmp sshd(pam_unix)[16783]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=209.152.167.147 user=da
Jun 1 15:53:59 tmp sshd(pam_unix)[16785]: authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=209.152.167.147 user=da
Jun 1 15:55:01 tmp crond(pam_unix)[16789]: session opened for user root by (uid=0)
Jun 1 15:55:01 tmp crond(pam_unix)[16789]: session closed for user root
Jun 1 16:00:01 tmp crond(pam_unix)[16793]: session opened for user root by (uid=0)
Jun 1 16:00:01 tmp crond(pam_unix)[16795]: session opened for user root by (uid=0)
Jun 1 16:00:02 tmp crond(pam_unix)[16795]: session closed for user root
Jun 1 16:00:02 tmp crond(pam_unix)[16793]: session closed for user root

da ÀÇ À¯Àú³×ÀÓÀº ¾ÆÁ÷µµ ·Î±×ÀÎÀ¸·Î µÇ¾îÀÖ½À´Ï´Ù. #userdel da ¸¦ ¾²¸é ¾ÆÁ÷ ·Î±×¿Â ÁßÀ̶ó´Â ÇÕ´Ï´Ù. ÀÌ »ç¿ëÀÚ¸¦ ¾î¶»°Ô Áö¿ï ¼ö ÀÖÁÒ? ±×¸®°í ƯÁ¤¾ÆÀÌÇǷθ¸ ·Î±×ÀÎ ÇÒ ¼ö ÀÖ°Ô ÇÏ´Â ¹æ¹ýÀ̳ª ¼³Á¤Àº ¾î¶² °ÍÀÌ ÀÖ½À´Ï±î? ¿ì¼± ÀÌ ¹æ¹ýµµ ÇغÁ¾ß°Ú½À´Ï´Ù.

[tto@tmp ~]$ ps -eo pid,user,cmd,args | grep da
17304 tto grep da grep da
[tto@tmp ~]$ ps -eo pid,user,cmd,args | grep tto
3746 tto /usr/bin/ssh-age /usr/bin/ssh-agent -s
5368 tto /usr/bin/ssh-age /usr/bin/ssh-agent -s
5790 tto /usr/bin/ssh-age /usr/bin/ssh-agent -s
7945 tto /usr/bin/ssh-age /usr/bin/ssh-agent -s
17266 root sshd: tto [priv] sshd: tto [priv]
17273 tto sshd: tto@pts/1 sshd: tto@pts/1
17274 tto -bash -bash
17305 tto ps -eo pid,user, ps -eo pid,user,cmd,args
17306 tto grep tto grep tto

±×¸®°í ¾Æ¿ï·¯ À¯Àú da¸¦ Áö¿ì±â À§ÇØ ´ÙÀ½À» ½ÇÇàÇß½À´Ï´Ù. ±×¸®°í ±×Àü¿¡ chattr +i /etc/passwd¸¦ ÁöÁ¤ÇÏ°í su - ¸í·É¾îµµ tto¸¸ »ç¿ëÇÒ ¼ö ÀÖ°Ô ÁöÁ¤ÇØ ³õ¾Ò½À´Ï´Ù.
[root@tmp ~]# userdel da
userdel: unable to open password file

±×·±µ¥ ´ÙÀ½°ú °°Àº ¸Þ¼¼Áö°¡ ¶å´Ï´Ù. ÀÌ»óÇϳ׿ä. ´Ù½Ã ¸®·è½º ¼³Ä¡ÇÏ°í °¡µ¿ÇÑÁö 2Àϸ¸¿¡ ÀÌ·¸°Ô µÇ³×¿ä....ÂÁ

-i ¿É¼ÇÀ» Á༭ ¼³Á¤ÇØÁ¦ÇÏ°í Çصµ ¶È°°Àº ¸Þ¼¼Áö°¡ ¶å´Ï´Ù.
À§ÀÇ »óȲÀÌ Å©·¢Å·ÀÌ µÈ °Ç°¡¿ä? ¾Æ´Ï¸é ±×³É Æ÷±âÇÏ°í °¬´ÂÁö °æÇèÀÌ ¾øÀ̼­ Á¤È®È÷ ¾Ë ¼ö°¡ ¾ø³×¿ä.
´Ù½Ã ºñ¹Ð¹øÈ£ ¹Ù²Ù°í ´Ù½Ã ¸®·è½º ÀνºÅçÇØ¾ß ÇÒÁö ±Ã±ÝÇÕ´Ï´Ù.

°¨»çÇÕ´Ï´Ù.

ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.


QnA
Á¦¸ñPage 3397/5678
2015-12   1477975   ¹é¸Þ°¡
2014-05   4941145   Á¤ÀºÁØ1
2008-12   5549   ±è»ó¿ìAP
2016-10   5549   jang
2005-08   5549   ¼­º¸·æ
2006-05   5550   ±è¹Î¼º
2006-05   5550   ¼­ÅÂÈñ
2020-11   5550   º´µû°³´Ô
2017-11   5550   ¼öÇÊó·³
2005-08   5550   ±è¼º±â
2006-03   5550   À±¿µ¹è
2008-05   5550   À̺´¿µ
2013-05   5550   ¶Ñ¶Ñ±è´ë¿ø
2005-06   5550   ±èµµ±Õ
2005-12   5550   ±è³²¼º
2013-02   5550   »ßµ¹À̽½ÇÄÀÌ
2018-03   5550   ¾¾Çü
2005-08   5550   ³ª°­¹®
2014-02   5550   ȸ¿øK
2008-07   5550   ±è¿µÈ£
2018-04   5550   ¹ÚÀ§·Õ
2015-06   5550   °¡ºü·Î±¸³ª