jumpserver/install/zzjumpserver.sh

14 lines
262 B
Bash
Raw Normal View History

2016-01-11 10:12:30 +00:00
#!/bin/bash
2016-01-14 03:58:53 +00:00
export LANG='zh_CN.UTF-8'
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