mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-13 13:59:17 +00:00
Update zzjumpserver.sh
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
if [ "$USER" != "admin" ] || [ "$USER" != "root" ] || [ "$USER" != "" ];then
|
if [ "$USER" != "admin" ] && [ "$USER" != "root" ];then
|
||||||
python /opt/jumpserver/connect.py
|
python /opt/jumpserver/connect.py
|
||||||
if [ $USER == 'guanghongwei' ];then
|
if [ $USER == 'guanghongwei' ];then
|
||||||
echo
|
echo
|
||||||
|
Reference in New Issue
Block a user