You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jumpserver/scripts/jumpserver.sh

13 lines
221 B

#!/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