jumpserver/jumpserver.sh

13 lines
221 B
Bash
Raw Normal View History

2014-08-14 09:22:25 +00:00
#!/bin/bash
2014-08-15 07:43:39 +00:00
if [ $USER = 'admin' ] || [ $USER == 'root' ];then
2014-08-14 09:22:25 +00:00
echo ""
else
python /opt/jumpserver/jumpserver.py
2014-08-15 07:43:39 +00:00
if [ $USER == 'guanghongwei' ];then
2014-08-14 09:22:25 +00:00
echo
else
exit 3
echo
fi
fi