mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 08:19:04 +00:00
ӽű
This commit is contained in:
13
docs/jumpserver.sh
Normal file
13
docs/jumpserver.sh
Normal 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
|
Reference in New Issue
Block a user