jumpserver/docs/zzjumpserver.sh

14 lines
245 B
Bash
Raw Normal View History

2015-04-20 13:17:16 +00:00
#!/bin/bash
2015-05-25 06:16:08 +00:00
if [ "$USER" == "admin" ] || [ "$USER" == "root" ] || [ "$USER" == "" ];then
2015-04-20 13:17:16 +00:00
echo ""
else
python /opt/jumpserver/connect.py
if [ $USER == 'guanghongwei' ];then
echo
else
exit 3
echo
fi
fi