jumpserver/install/zzjumpserver.sh

12 lines
235 B
Bash

#!/bin/bash
if [ "$USER" != "admin" ] && [ "$USER" != "root" ];then
python /opt/jumpserver/connect.py
if [ $USER == 'guanghongwei' ];then
echo
else
exit 3
echo
fi
fi