mirror of https://github.com/jumpserver/jumpserver
26 lines
549 B
YAML
26 lines
549 B
YAML
|
id: push_account_posix
|
||
|
name: Push account for posix
|
||
|
category: host
|
||
|
type:
|
||
|
- unix
|
||
|
- linux
|
||
|
method: push_account
|
||
|
params:
|
||
|
- name: sudo
|
||
|
type: str
|
||
|
label: 'Sudo'
|
||
|
default: '/bin/whoami'
|
||
|
help_text: '使用逗号分隔多个命令,如: /bin/whoami,/sbin/ifconfig'
|
||
|
|
||
|
- name: shell
|
||
|
type: str
|
||
|
label: 'Shell'
|
||
|
default: '/bin/bash'
|
||
|
help_text: ''
|
||
|
|
||
|
- name: groups
|
||
|
type: str
|
||
|
label: '用户组'
|
||
|
default: ''
|
||
|
help_text: '请输入用户组,多个用户组使用逗号分隔(需填写已存在的用户组)'
|