refactor: update command in JSON example to use placeholder for client password

- Replaced the hardcoded password in the command with a placeholder `{CLIENT_PASSWORD}` for improved security and flexibility.
- Ensured that the overall structure of the JSON remains unchanged while enhancing the example's usability.
This commit is contained in:
yuanmengqi
2025-07-31 05:20:04 +00:00
parent 5e24d72da6
commit a5b51e8010

View File

@@ -7,7 +7,7 @@
{
"type": "execute",
"parameters": {
"command": "echo password | sudo -S su - charles",
"command": "echo {CLIENT_PASSWORD} | sudo -S su - charles",
"shell": true
}
},