I'll step through the relevant commands from your config snippet.
This local admin user will be given priv-15 access if used for auth.
username admin privilege 15 secret 5 <encrypted password>
| #!/usr/bin/env python3 | |
| import gi | |
| gi.require_version("Gst", "1.0") | |
| gi.require_version("GstPbutils", "1.0") | |
| import os | |
| import sqlite3 | |
| import pathlib | |
| from urllib.parse import unquote |
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| FILE="/usr/lib/python3/dist-packages/proton/vpn/app/gtk/services/reconnector/session_monitor.py" | |
| # Require root | |
| if [[ $EUID -ne 0 ]]; then | |
| echo "Run as root (sudo)." >&2 | |
| exit 1 | |
| fi |
| # -*- coding: UTF-8 -*- | |
| # This script is based on Tilix's "open_tilix.py" by Gerald Nunn | |
| # - https://github.com/gnunn1/tilix/blob/master/data/nautilus/open-tilix.py | |
| # Modified for VScode, references: | |
| # - https://gnome.pages.gitlab.gnome.org/nautilus-python/class-nautilus-python-menu-provider.html | |
| # - https://askubuntu.com/a/301205/643965 | |
| from gettext import gettext, textdomain | |
| from subprocess import Popen | |
| import shutil |