[PR #308] [CLOSED] Make check_user_in_sudo.sh use sudo -l #1737

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

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/308
Author: @Wasapl
Created: 8/31/2023
Status: ❌ Closed

Base: master ← Head: master


📝 Commits (1)

  • 28856ce Make check_user_in_sudo.sh use sudo -l

📊 Changes

2 files changed (+2 additions, -3 deletions)

View changed files

📝 client/core/servercontroller.cpp (+1 -1)
📝 client/server_scripts/check_user_in_sudo.sh (+1 -2)

📄 Description

Sudo group is not sufficient in all Linux systems. Correct way is to search for (ALL) NOPASSWD: ALL in output of sudo -l command.
See https://superuser.com/questions/553932/how-to-check-if-i-have-sudo-access as an example.


🔄 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/308 **Author:** [@Wasapl](https://github.com/Wasapl) **Created:** 8/31/2023 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`28856ce`](https://github.com/amnezia-vpn/amnezia-client/commit/28856ce3781af7adc3911d948ee92195b0a97dac) Make check_user_in_sudo.sh use sudo -l ### 📊 Changes **2 files changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `client/core/servercontroller.cpp` (+1 -1) 📝 `client/server_scripts/check_user_in_sudo.sh` (+1 -2) </details> ### 📄 Description Sudo group is not sufficient in all Linux systems. Correct way is to search for `(ALL) NOPASSWD: ALL` in output of `sudo -l` command. See https://superuser.com/questions/553932/how-to-check-if-i-have-sudo-access as an example. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-13 20:47:32 +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#1737
No description provided.