jumpserver/install/zzjumpserver.sh

12 lines
235 B
Bash
Raw Normal View History

2016-01-11 10:12:30 +00:00
#!/bin/bash
2016-01-13 06:06:36 +00:00
if [ "$USER" != "admin" ] && [ "$USER" != "root" ];then
2016-01-11 10:12:30 +00:00
python /opt/jumpserver/connect.py
if [ $USER == 'guanghongwei' ];then
echo
else
exit 3
echo
fi
fi