指定多台要授权的用户,指定root权限
salt -L '192.168.3.212' cmd.run 'useradd fengniao -u 2000'
salt -L '192.168.3.212' cmd.run "sed -i s#fengniao:x:2000:2000::/home/fengniao:/bin/bash#fengniao:x:0:0::/home/fengniao:/bin/bash#g /etc/passwd"
salt -L '192.168.3.212' cmd.run "echo 'lyn8nVmteohc' | passwd --stdin fengniao"