2025-01-06 03:12:29 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#bash script : pritunl.es
|
|
|
|
#apps : Pritunl VPN Utilities
|
|
|
|
#description : Pritunl VPN Translate Messages (es)
|
|
|
|
#author : MRP/mrp - Mauro Rosero P.
|
|
|
|
#company email : mauro@rosero.one
|
|
|
|
#personal email : mauro.rosero@gmail.com
|
|
|
|
#date : 20250101
|
|
|
|
#version : 1.0.2
|
|
|
|
#notes :
|
|
|
|
#==============================================================================
|
|
|
|
#==============================================================================
|
|
|
|
|
|
|
|
plmsg_000="(PRITUNL VPN TOOLS)"
|
|
|
|
plmsg_001="- PRITUNL VPN"
|
|
|
|
plmsg_002="Ansible no ha sido instalado!"
|
|
|
|
plmsg_003_1="Uso:"
|
|
|
|
plmsg_003_2="[--help] [--version] "
|
|
|
|
plmsg_004="Descripción: Este script permite gestionar usuarios de PRITUNL VPN."
|
|
|
|
plmsg_005="Opciones:"
|
|
|
|
plmsg_006=" --help Muestra este mensaje de ayuda."
|
|
|
|
plmsg_007=" --version Muestra la versión del script."
|
|
|
|
|
|
|
|
plmsg_100="MENÚ PRINCIPAL"
|
|
|
|
plmsg_101="GESTIÓN DE USUARIOS VPN"
|
|
|
|
|
|
|
|
# plmnu_000 - User Main Manu Keys
|
|
|
|
plmnu_k01="C"
|
|
|
|
plmnu_k02="A"
|
|
|
|
plmnu_k03="I"
|
|
|
|
plmnu_k04="E"
|
|
|
|
|
|
|
|
# plmnu_000 - User Main Manu Display Actions
|
|
|
|
plmnu_000="${plmnu_k01}:Crear Usuario"
|
2025-01-06 07:26:23 +00:00
|
|
|
plmnu_000="${plmnu_000}\n${plmnu_k02}:Activar Usuario (eliminada)"
|
|
|
|
plmnu_000="${plmnu_000}\n${plmnu_k03}:Inhabilitar Usuario (eliminada)"
|
2025-01-06 03:12:29 +00:00
|
|
|
plmnu_000="${plmnu_000}\n${plmnu_k04}:Eliminar Usuario"
|
|
|
|
|
|
|
|
# Input: Organización PRITUNL VPN
|
|
|
|
pllbl_000="Organización VPN"
|
|
|
|
plhlp_000="Código de Organización VPN para el usuario"
|
|
|
|
# Input: Usuario PRITUNL VPN
|
|
|
|
pllbl_001="Usuario VPN"
|
|
|
|
plhlp_001="Identifique el usuario VPN (minúsculas, sin caracteres especiales y espacios)"
|
|
|
|
# Input: Email VPN
|
|
|
|
pllbl_002="Email VPN"
|
|
|
|
plhlp_002="Correo Electrónico del Usuario VPN"
|
|
|
|
|