mirror of https://github.com/jumpserver/jumpserver
13 lines
221 B
Bash
13 lines
221 B
Bash
![]() |
#!/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
|