北航游戏网:本站主要提供海量正版软件本地纯净,安全,无捆绑软件下载服务,热门软件和游戏应有尽有,每天更新大量精品手游及绿色软件!
网站地图
你的位置: 首页 > 游戏资讯 > 网络安全

linux下二次口令加固,保证系统安全

  • 2023-06-19 05:05:26
  • 来源:互联网
  • 在手机上看

    扫一扫立即进入手机端

  [root@gao ~]# pwd

  /root

  [root@gao ~]# cat .bashrc

  # .bashrc

  # User specific aliases and functions

  alias rm='rm -i'

  alias cp='cp -i'

  alias mv='mv -i'

  # Source global definitions

  if [ -f /etc/bashrc ]; then

  . /etc/bashrc

  fi

  #======================================

  read -p “Input your name: “ name

  if [ $name == “xiaoming“ ];then

  echo “Hello xiaoming“

  date=`date`

  echo “$name $date“ > /root/login.txt

  else

  exit

  fi

  #======================================

游戏推荐

linux 系统安全 linux下二次口令加固 保证系统安全
更多

手机游戏排行榜