日期:2014-05-17 浏览次数:20495 次
#!/bin/bash exeuser=worker userid=`id -nu` if [ "$userid"!="$exeuser" ];then echo "only user:worker can execuce" exit; fi