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

¹Ú±âµÎ   
   Á¶È¸ 5586   Ãßõ 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 4648/5680
2015-12   1481837   ¹é¸Þ°¡
2014-05   4945133   Á¤ÀºÁØ1
2006-07   5320   ±è´öÁØ
2006-07   5074   ÀåÁø¼ö
2006-07   5319   ±èÇüÁÖ
2006-07   5096   ÃÖÀç±Õ
2006-07   6703   ¹æÈ¿¹®
2006-07   5239   ÀÌÁ¾¹Î
2006-07   5226   ÀÌÁؼº
2006-07   5250   ÀÌÅÂÈ£
2006-07   5044   ±è½Â¿ë
2006-07   5208   ±èâÀ±(k)
2006-07   5041   ÀüÀçÇö
2006-07   5193   È«µ¿±Ç
2006-07   4803   ¼ÕÁöÈÆ
2006-07   5774   À̱âÀ°
2006-07   5206   ¹®Ãß±â
2006-07   6433   ÃÖÀç±Õ
2006-07   5669   À±È£¿ë
2006-07   5547   ÀÌâÁØ
2006-07   4855   ±èº´¿ì
2006-07   5207   ±è±¤¼ö