mirror of
https://github.com/cloudpanel-io/cloudpanel-ce.git
synced 2026-04-05 20:31:58 +02:00
sudo clpctl not working resulting invalid directive #327
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @John-Henrique on 10/30/2023
CloudPanel version(s) affected
2.3.2
Description
SCENERY
User 'sudoers'
I try all this set (one time for each)
user1 ALL=(ALL) NOPASSWD: /usr/bin/clpctl
user1 ALL=(ALL) NOPASSWD: /bin/clpctl
user1 ALL=(ALL) NOPASSWD: ALL
When run
result this error
When run using double quotes
result this error
How to reproduce
I my case just example command and get this error, never works in my install
All other CLPCTL command works fine.
Possible Solution
I don`t know
Additional Context
When running by root, works fine.
This privileges from this user