def server_add_user(username, ssh_key_pwd=''):
 bash(("useradd -s '%s' '%s'" % (os.path.join(BASE_DIR, 'init.sh'), username)))
 gen_ssh_key(username, ssh_key_pwd)

def server_add_user ( username , ssh_key_pwd = '' ) : bash ( ( "useradd -s '%s' '%s'" % ( os . path . join ( BASE_DIR , 'init.sh' ) , username ) ) ) gen_ssh_key ( username , ssh_key_pwd )
add a system user in jumpserver 在jumpserver服务器上添加一个用户 .