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

¹Ú±âµÎ   
   Á¶È¸ 5580   Ãßõ 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 4670/5679
2014-05   4942337   Á¤ÀºÁØ1
2015-12   1479165   ¹é¸Þ°¡
2006-06   5553   ±èÀ±»ó
2006-06   5820   ±èÀçȯ
2006-06   5804   Á¶À缺
2006-06   5399   ±è°æ¶ô
2006-06   7565   ±èÁö¼º
2006-06   5208   ±èÁؼº
2006-06   6765   Á¤ÀÇÇÑ
2006-06   5254   ÀÌÁ¾¿ø
2006-06   5323   ¹Úº´¿í
2006-06   5792   ¹Ú±âµÎ
2006-06   5581   ¹Ú±âµÎ
2006-06   5303   À̼±±Ô
2006-06   5669   ¹Ú±âµÎ
2006-06   4798   ¹Ú½ÂÁø
2006-06   5578   ¼ÛµµÇö
2006-06   5142   Àμ±±³
2006-06   5696   À̹®Èì
2006-06   6346   ¹ÚÁرÔ
2006-06   6319   ÃÖâÇö
2006-06   5754   °­Çö¼·