[GH-ISSUE #2118] non-root user in Centos 7 used wrong command #934

Open
opened 2026-10-13 20:31:18 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @grumbler66rus on GitHub (Jan 7, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2118

Describe the bug
При попытке установить Amnezia VPN на свой сервер с Centos 7 под обычным пользователем программа даёт ошибку, поскольку выполняет команду docker ps с неверными параметрами. При этом пользователю приложение сообщает ложную диагностику "Errorcode: 205. Пользователь не входит в группу sudo."

To Reproduce

  1. Linux:
    ssh root@centos7
    useradd amn
    echo 'amn ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
  2. amnezia-client:
    Host: centos7
    User: amn
    Password: ********

Log files
Linux, journalctl:

Jan 07 20:10:12 centos7.test sshd[32244]: Accepted password for amn from 192.168.245.2 port 50135 ssh2
Jan 07 20:10:12 centos7.test kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs
Jan 07 20:10:12 centos7.test systemd[1]: Created slice user-1001.slice.
Jan 07 20:10:12 centos7.test systemd[1]: Started Session 112 of user amn.
Jan 07 20:10:12 centos7.test systemd-logind[632]: New session 112 of user amn.
Jan 07 20:10:12 centos7.test sshd[32244]: pam_unix(sshd:session): session opened for user amn by (uid=0)
Jan 07 20:10:12 centos7.test sudo[32249]:      amn : TTY=unknown ; PWD=/home/amn ; USER=root ; COMMAND=/bin/docker ps --format {{.Names}} {{.Ports}}
Jan 07 20:10:12 centos7.test sudo[32249]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jan 07 20:10:12 centos7.test sudo[32249]: pam_unix(sudo:session): session closed for user root
Jan 07 20:10:13 centos7.test sshd[32244]: pam_unix(sshd:session): session closed for user amn

Desktop (please complete the following information):

  • OS: Windows 10
  • AmneziaVPN 4.8.11.4 (Nov 19 2025, 3b3a0aac)

Server (please complete the following information):

  • OS: Centos 7
Originally created by @grumbler66rus on GitHub (Jan 7, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2118 **Describe the bug** При попытке установить Amnezia VPN на свой сервер с Centos 7 под обычным пользователем программа даёт ошибку, поскольку выполняет команду docker ps с неверными параметрами. При этом пользователю приложение сообщает ложную диагностику "Errorcode: 205. Пользователь не входит в группу sudo." **To Reproduce** 1. Linux: ssh root@centos7 useradd amn echo 'amn ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers 2. amnezia-client: Host: centos7 User: amn Password: ******** **Log files** Linux, journalctl: ``` Jan 07 20:10:12 centos7.test sshd[32244]: Accepted password for amn from 192.168.245.2 port 50135 ssh2 Jan 07 20:10:12 centos7.test kernel: SELinux: initialized (dev tmpfs, type tmpfs), uses transition SIDs Jan 07 20:10:12 centos7.test systemd[1]: Created slice user-1001.slice. Jan 07 20:10:12 centos7.test systemd[1]: Started Session 112 of user amn. Jan 07 20:10:12 centos7.test systemd-logind[632]: New session 112 of user amn. Jan 07 20:10:12 centos7.test sshd[32244]: pam_unix(sshd:session): session opened for user amn by (uid=0) Jan 07 20:10:12 centos7.test sudo[32249]: amn : TTY=unknown ; PWD=/home/amn ; USER=root ; COMMAND=/bin/docker ps --format {{.Names}} {{.Ports}} Jan 07 20:10:12 centos7.test sudo[32249]: pam_unix(sudo:session): session opened for user root by (uid=0) Jan 07 20:10:12 centos7.test sudo[32249]: pam_unix(sudo:session): session closed for user root Jan 07 20:10:13 centos7.test sshd[32244]: pam_unix(sshd:session): session closed for user amn ``` **Desktop (please complete the following information):** - OS: Windows 10 - AmneziaVPN 4.8.11.4 (Nov 19 2025, 3b3a0aac) **Server (please complete the following information):** - OS: Centos 7
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#934
No description provided.