This commit is contained in:
ibuler
2015-04-20 21:17:16 +08:00
parent e2ac212fc3
commit 7accf70e17
2 changed files with 15 additions and 3 deletions

13
docs/jumpserver.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
if [ $USER == 'admin' ] || [ $USER == 'root' ];then
echo ""
else
python /opt/jumpserver/connect.py
if [ $USER == 'guanghongwei' ];then
echo
else
exit 3
echo
fi
fi