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

¹Ú±âµÎ   
   Á¶È¸ 5582   Ãßõ 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 3432/5679
2014-05   4942711   Á¤ÀºÁØ1
2015-12   1479532   ¹é¸Þ°¡
2005-10   5581   ÀÓ¿µ¼ö
2012-03   5581   ¹Ú°æÈ£
2008-05   5581   ±ÇÁ¾ÀÏ
2015-02   5581   ¹ÚÁö¿ø´ë±¸¡¦
2006-04   5581   ±è¿ë¼ö
2014-08   5581   ±Ç¿ë1
2005-10   5581   ÀÌ»óÇö
2017-03   5581   Dreamer
2012-11   5581   ºÐ´ç±èµ¿¼ö
2008-03   5581   ³²Âù¿ì
2006-01   5581   ±èµµÇå
2023-04   5581   ¹«½î»Ôó·³
2007-08   5581   ±èÀçÇå
2009-08   5581   ¼Õ¼®¿ì
2009-04   5581   ÀÌÇм±
2013-05   5581   ¹æoÈ¿o¹®
2008-04   5581   º¯±âö
2006-03   5581   ¼ÛÈ­½Ä
2015-04   5581   °Ü¿ï³ª¹«
2009-09   5581   ¹æoÈ¿o¹®