[PR #1278] [MERGED] Checking server user permissions to use sudo #2296

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

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/1278
Author: @lunardunno
Created: 12/1/2024
Status: ✅ Merged
Merged: 1/15/2025
Merged by: @lunardunno

Base: check_sudo_permissions ← Head: checking_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

13 files changed (+46 additions, -38 deletions)

View changed files

📝 client/core/controllers/serverController.cpp (+7 -5)
📝 client/core/defs.h (+3 -0)
📝 client/core/errorstrings.cpp (+5 -2)
📝 client/server_scripts/check_user_in_sudo.sh (+1 -1)
📝 client/server_scripts/prepare_host.sh (+1 -1)
📝 client/translations/amneziavpn_ar_EG.ts (+3 -3)
📝 client/translations/amneziavpn_fa_IR.ts (+4 -4)
📝 client/translations/amneziavpn_hi_IN.ts (+4 -4)
📝 client/translations/amneziavpn_my_MM.ts (+4 -4)
📝 client/translations/amneziavpn_ru_RU.ts (+3 -3)
📝 client/translations/amneziavpn_uk_UA.ts (+4 -4)
📝 client/translations/amneziavpn_ur_PK.ts (+3 -3)
📝 client/translations/amneziavpn_zh_CN.ts (+4 -4)

📄 Description

No description provided


🔄 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/1278 **Author:** [@lunardunno](https://github.com/lunardunno) **Created:** 12/1/2024 **Status:** ✅ Merged **Merged:** 1/15/2025 **Merged by:** [@lunardunno](https://github.com/lunardunno) **Base:** `check_sudo_permissions` ← **Head:** `checking_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 **13 files changed** (+46 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `client/core/controllers/serverController.cpp` (+7 -5) 📝 `client/core/defs.h` (+3 -0) 📝 `client/core/errorstrings.cpp` (+5 -2) 📝 `client/server_scripts/check_user_in_sudo.sh` (+1 -1) 📝 `client/server_scripts/prepare_host.sh` (+1 -1) 📝 `client/translations/amneziavpn_ar_EG.ts` (+3 -3) 📝 `client/translations/amneziavpn_fa_IR.ts` (+4 -4) 📝 `client/translations/amneziavpn_hi_IN.ts` (+4 -4) 📝 `client/translations/amneziavpn_my_MM.ts` (+4 -4) 📝 `client/translations/amneziavpn_ru_RU.ts` (+3 -3) 📝 `client/translations/amneziavpn_uk_UA.ts` (+4 -4) 📝 `client/translations/amneziavpn_ur_PK.ts` (+3 -3) 📝 `client/translations/amneziavpn_zh_CN.ts` (+4 -4) </details> ### 📄 Description _No description provided_ --- <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:38 +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#2296
No description provided.