mirror of https://github.com/jumpserver/jumpserver
12 lines
256 B
Bash
12 lines
256 B
Bash
![]() |
#!/bin/bash
|
||
|
|
||
|
if [ "$USER" != "admin" ] || [ "$USER" != "root" ] || [ "$USER" != "" ];then
|
||
|
python /opt/jumpserver/connect.py
|
||
|
if [ $USER == 'guanghongwei' ];then
|
||
|
echo
|
||
|
else
|
||
|
exit 3
|
||
|
echo
|
||
|
fi
|
||
|
fi
|