Sunil Mohan Adapa 7470821dc7
mumble: Use privileged decorator for superuser actions
- Don't use command line argument for sending the join password for security.

- murmurd can switch to mumble-server UID before performing database operations.
Remove code to switch to mumble-server user.

- murmurd seems to return correct response code of 0 upon successfully setting
the password. Simplify code accordingly.

- Use subprocess.run() instead of subprocess.Popen for convenience.

Tests:

- Run functional and unit tests on Debian stable.

- Perform a fresh installation.

- Verify that setting super user password works.

- Verify that setting root channel names works.

- Verify that setting join password works.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-06-24 08:41:23 -04:00
..
2021-12-04 16:38:08 -05:00
2022-01-10 14:29:29 -08:00
2021-12-04 16:38:08 -05:00
2022-02-26 11:45:06 -05:00
2021-12-04 16:38:08 -05:00
2021-12-04 16:38:08 -05:00
2022-01-22 23:59:37 -08:00
2022-05-11 10:11:58 -07:00