摘要: #!/bin/bashROOT_UID=0E_WRONG_USER=65if [ "$UID" -ne "$ROOT_UID" ]thenecho;echo "You must be root to run this script.";echoexit $E_WRONG_USERfiROOTUSER_NAME=root username=`id -nu` if [ "$username" != "... 阅读全文
posted @ 2010-06-01 14:10 waynechen 阅读(332) 评论(0) 推荐(0) 编辑