mirror of https://gitee.com/anolis/sysom.git
![]() 1. Support for managing nodes with non-root users, require target user can run all command without password, you can edit "/etc/sudoers", add the following line. (replace <username> to target username) <username> ALL=(ALL) NOPASSWD: ALL 2. When channel_job sends a command, it supports specifying that the command does not require root privileges, and when the username is not root, sudo bash -c "" will not be used to wrapper command |
||
---|---|---|
.. | ||
cec_status.py | ||
config.py | ||
file.py | ||
health.py |