jumpserver/install/zzjumpserver.sh

14 lines
245 B
Bash
Raw Normal View History

2015-12-19 09:27:12 +00:00
#!/bin/bash
if [ "$USER" == "admin" ] || [ "$USER" == "root" ] || [ "$USER" == "" ];then
echo ""
else
python /opt/jumpserver/connect.py
if [ $USER == 'guanghongwei' ];then
echo
else
exit 3
echo
fi
fi