mirror of
				https://github.com/jumpserver/jumpserver.git
				synced 2025-11-03 23:47:27 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			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 |