amnezia-client/client/core
lunardunno 076b076cd9
Verifying the server user to work with sudo (#1254)
* checking that the username is root

Changing the mechanism for checking that the username is root

* wheel group check (#1198)

Checking if the user is included in the wheel group

* Checking requirements in script (#1210)

* Checking requirements in script

Checking requirements for sudo users in script

* Adding error handling

Adding error handling in the server controller for:
Sudo package is not pre-installed for sudo users.
Server user or associated group is not listed in the sudoers file.
Server user password required

* adding error codes

* added extended error descriptions

* checking sudo permission for root

Сhecking sudo permission for root.
Сhecking and redefining the system language.

* Username if whoami returns an error

Сommand to use home directory name if whoami returns error or is missing.

* Correcting text error

Correction of the text of the extended description of the package manager error

* Updating translations

* Optimization check_user_in_sudo.sh

* exceptions for missing uname

* output only for groups sudo or wheel
2024-12-01 13:51:03 +04:00
..
controllers Verifying the server user to work with sudo (#1254) 2024-12-01 13:51:03 +04:00
enums New start page and AmneziaFree support (#865) 2024-08-20 10:54:05 +01:00
serialization Connection string support for XRay protocol (#777) 2024-05-27 16:15:55 +01:00
defs.h Verifying the server user to work with sudo (#1254) 2024-12-01 13:51:03 +04:00
errorstrings.cpp Verifying the server user to work with sudo (#1254) 2024-12-01 13:51:03 +04:00
errorstrings.h Config export 2021-05-10 02:33:31 +03:00
installedAppsImageProvider.cpp feature/app-split-tunneling (#702) 2024-04-01 12:45:00 +01:00
installedAppsImageProvider.h feature/app-split-tunneling (#702) 2024-04-01 12:45:00 +01:00
ipcclient.cpp Some XRay improvements (#1075) 2024-09-20 12:12:22 +01:00
ipcclient.h Some XRay improvements (#1075) 2024-09-20 12:12:22 +01:00
networkUtilities.cpp added domain name resolving before connection for wg/awg and xray protocols (#814) 2024-09-16 22:14:13 +01:00
networkUtilities.h feature/app-split-tunneling (#702) 2024-04-01 12:45:00 +01:00
privileged_process.cpp Android manifest fix, IPC refactoring 2022-02-22 02:08:57 +03:00
privileged_process.h Android manifest fix, IPC refactoring 2022-02-22 02:08:57 +03:00
scripts_registry.cpp added ui for proxy container (#762) 2024-06-10 12:35:24 +01:00
scripts_registry.h Xray with Reality protocol (#494) 2024-03-27 11:02:34 +00:00
server_defs.cpp Various types containers support 2021-09-20 21:51:28 +03:00
server_defs.h NewServerSettings qml rework 2021-09-09 20:15:44 +03:00
sshclient.cpp ssh client now reuses an existing session instead of opening a new one 2024-04-12 20:00:21 +05:00
sshclient.h Replace sftp with scp (#602) 2024-03-06 01:24:28 +00:00