ºìÁªLinuxÃÅ»§
Linux°ïÖú

²»¼ÇrootʹÓùýµÄÀúÊ·ÃüÁî

·¢²¼Ê±¼ä:2014-03-22 10:35:01À´Ô´:ºìÁª×÷Õß:tioced
ÔÚLinuxϵͳÏ»á×Ô¶¯µÄ¼ÇÏÂÓû§ÊäÈëµÄÃüÁ³öÓÚrootµÄ°²È«ÐÔ£¬ÎÒÃÇÓ¦¸Ã²»¼Ç¼»òÕߺÜÉٵļǼrootʹÓùýµÄÀúÊ·ÃüÁî¡£

¿ÉÒÔ²ÉÓÃÈçÏ·½·¨ÉèÖãº

ΪÁËÈÃϵͳ²»¼Çÿ¸öÈËÖ´ÐеÄÃüÁÔÚ/etc/profileÀïÉèÖãº

HISTFILESIZE=0
HISTSIZE=0

»òÕߣº

ln -s /dev/null ~/.bash_history

ÕâÑù¾ÍÐÐÁË¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 2 ÌõÆÀÂÛ

  1. libby ÓÚ 2017-05-26 17:25:24·¢±í:

    ¶àл·ÖÏí

  2. Þ±¶ù°²À¶ ÓÚ 2015-11-20 15:28:58·¢±í:

    :0wmjh(1