Files
jumpserver/docs/zzjumpserver.sh
2015-05-25 14:16:08 +08:00

14 lines
245 B
Bash

#!/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