This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
linux:sudo [2025/02/25 13:26] manu |
linux:sudo [2025/02/25 13:27] (current) manu [sudo howto] |
||
---|---|---|---|
Line 20: | Line 20: | ||
# sudo -u bin -g operator /bin/ls /whatever/directory | # sudo -u bin -g operator /bin/ls /whatever/directory | ||
- | <cli> | + | <cli prompt='>'> |
[root@aix001]/etc/sudoers.d> cat zabbix | [root@aix001]/etc/sudoers.d> cat zabbix | ||
%AIXUSERS ALL=(root) NOPASSWD: /usr/bin/vi /etc/zabbix/* | %AIXUSERS ALL=(root) NOPASSWD: /usr/bin/vi /etc/zabbix/* |