[PR #1366] [CLOSED] Checking server user permissions to use sudo #2329

Closed
opened 2026-10-13 21:20:57 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/1366
Author: @lunardunno
Created: 1/15/2025
Status: ❌ Closed

Base: dev ← Head: check_sudo_permissions


📝 Commits (10+)

  • 85fa1ad added check for the root user and the wheel group
  • 076b076 Verifying the server user to work with sudo (#1254)
  • 6249702 script simplification
  • 45fb4b0 exception for root
  • 2b85daf сhanged extended description
  • 055c8f7 splitting the sudo check script
  • c9423dd improved script readability
  • ce4cb28 improved script readability
  • 795ccaa added timestamp removal for sudo
  • 7b2a4ea improved script readability

📊 Changes

90 files changed (+1005 additions, -2651 deletions)

View changed files

➖ client/3rd/OpenVPNAdapter (+0 -1)
📝 client/CMakeLists.txt (+2 -176)
📝 client/amnezia_application.cpp (+19 -271)
📝 client/amnezia_application.h (+6 -84)
📝 client/cmake/ios.cmake (+4 -8)
📝 client/containers/containers_defs.cpp (+43 -56)
➖ client/core/controllers/apiController.cpp (+0 -509)
➖ client/core/controllers/apiController.h (+0 -50)
📝 client/core/controllers/serverController.cpp (+7 -5)
📝 client/core/controllers/vpnConfigurationController.cpp (+3 -3)
📝 client/core/controllers/vpnConfigurationController.h (+3 -2)
📝 client/core/defs.h (+7 -3)
➖ client/core/enums/apiEnums.h (+0 -9)
📝 client/core/errorstrings.cpp (+9 -2)
📝 client/core/ipcclient.cpp (+27 -18)
📝 client/core/networkUtilities.h (+1 -1)
📝 client/ios/networkextension/CMakeLists.txt (+1 -6)
➖ client/ios/scripts/openvpn.sh (+0 -19)
📝 client/platforms/ios/HevSocksTunnel.swift (+1 -0)
📝 client/protocols/ikev2_vpn_protocol_windows.cpp (+1 -1)

...and 70 more files

📄 Description

Checking server user permissions to use sudo using a package manager.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/1366 **Author:** [@lunardunno](https://github.com/lunardunno) **Created:** 1/15/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `check_sudo_permissions` --- ### 📝 Commits (10+) - [`85fa1ad`](https://github.com/amnezia-vpn/amnezia-client/commit/85fa1ad8b10df65c28e18392044c037f606a3d7a) added check for the root user and the wheel group - [`076b076`](https://github.com/amnezia-vpn/amnezia-client/commit/076b076cd933f671e07f22b2b9fc91e55db79a16) Verifying the server user to work with sudo (#1254) - [`6249702`](https://github.com/amnezia-vpn/amnezia-client/commit/62497024f96f93cc733d6db62d94de0a4fd7263f) script simplification - [`45fb4b0`](https://github.com/amnezia-vpn/amnezia-client/commit/45fb4b0982fcd6265e76f0543e2d411cc11b0a59) exception for root - [`2b85daf`](https://github.com/amnezia-vpn/amnezia-client/commit/2b85dafa1538b3805cf99c5466d322f5da5dc51d) сhanged extended description - [`055c8f7`](https://github.com/amnezia-vpn/amnezia-client/commit/055c8f7b668a11df474e1fe6cbf2de738c0c58ff) splitting the sudo check script - [`c9423dd`](https://github.com/amnezia-vpn/amnezia-client/commit/c9423dd9afc2eaf0bc509571793a5d9d28fc653f) improved script readability - [`ce4cb28`](https://github.com/amnezia-vpn/amnezia-client/commit/ce4cb28e747ac63bb206900ebe9744a5edf571a2) improved script readability - [`795ccaa`](https://github.com/amnezia-vpn/amnezia-client/commit/795ccaa08092f7150861491c38cdfc9bb23cbb22) added timestamp removal for sudo - [`7b2a4ea`](https://github.com/amnezia-vpn/amnezia-client/commit/7b2a4ea9220444af574e588213d7e7b6f7e7168d) improved script readability ### 📊 Changes **90 files changed** (+1005 additions, -2651 deletions) <details> <summary>View changed files</summary> ➖ `client/3rd/OpenVPNAdapter` (+0 -1) 📝 `client/CMakeLists.txt` (+2 -176) 📝 `client/amnezia_application.cpp` (+19 -271) 📝 `client/amnezia_application.h` (+6 -84) 📝 `client/cmake/ios.cmake` (+4 -8) 📝 `client/containers/containers_defs.cpp` (+43 -56) ➖ `client/core/controllers/apiController.cpp` (+0 -509) ➖ `client/core/controllers/apiController.h` (+0 -50) 📝 `client/core/controllers/serverController.cpp` (+7 -5) 📝 `client/core/controllers/vpnConfigurationController.cpp` (+3 -3) 📝 `client/core/controllers/vpnConfigurationController.h` (+3 -2) 📝 `client/core/defs.h` (+7 -3) ➖ `client/core/enums/apiEnums.h` (+0 -9) 📝 `client/core/errorstrings.cpp` (+9 -2) 📝 `client/core/ipcclient.cpp` (+27 -18) 📝 `client/core/networkUtilities.h` (+1 -1) 📝 `client/ios/networkextension/CMakeLists.txt` (+1 -6) ➖ `client/ios/scripts/openvpn.sh` (+0 -19) 📝 `client/platforms/ios/HevSocksTunnel.swift` (+1 -0) 📝 `client/protocols/ikev2_vpn_protocol_windows.cpp` (+1 -1) _...and 70 more files_ </details> ### 📄 Description Checking server user permissions to use sudo using a package manager. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-13 21:20:57 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#2329
No description provided.