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