jumpserver/jumpserver.sh

13 lines
221 B
Bash
Executable File

#!/bin/bash
if [ $USER = 'admin' ] || [ $USER == 'root' ];then
echo ""
else
python /opt/jumpserver/jumpserver.py
if [ $USER == 'guanghongwei' ];then
echo
else
exit 3
echo
fi
fi