原创 centos google authenticator 安裝及配置

爲了增強服務器安全性,使用google authenticator生成的動態密碼進行加固,輸入密碼的同時需要再次驗證動態密碼才能登錄成功。以下操作均在centos6.5環境下操作。首先:1、安裝一些必要組件yum install -y gi

原创 非root用戶ulimit報錯cannot modify limit: Operation not

報錯原因: [root@ip-172-31-21-147 ~]# su nobody -s /bin/bash -c "ulimit -n 102400" bash: line 0: ulimit: open files: cannot m