HEX
Server: Apache
System: Linux insrv.serversdaddy.com 5.14.0-362.24.2.el9_3.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Mar 30 14:11:54 EDT 2024 x86_64
User: jsaha (1066)
PHP: 8.3.6
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3.9/site-packages/sos/report/plugins/__pycache__/tigervnc.cpython-39.opt-1.pyc
a

^��c��@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�RedHatPluginc@s$eZdZdZdZdZdZdd�ZdS)�TigerVNCa�
    This plugin gathers information for VNC servers provided by the tigervnc
    package. This is explicitly for server-side collections, not clients.

    By default, this plugin will capture the contents of /etc/tigervnc, which
    may include usernames. If usernames are sensitive information for end
    users of sos, consider using the `--clean` option to obfuscate these
    names.
    zTigerVNC server configurationZtigervnc)ztigervnc-servercCsj|�d�|�d�}|ddkr\|d��D].}|��}|s>q,|�|d�|�|d�q,|�d�dS)Nz/etc/tigervnc/z:systemctl list-units --type=service --no-legend vncserver*�statusr�outputzvncserver -list)Z
add_copy_specZexec_cmd�
splitlines�splitZadd_service_statusZadd_journalZadd_cmd_output)�selfZvncsZservZvnc�r
�?/usr/lib/python3.9/site-packages/sos/report/plugins/tigervnc.py�setups
�zTigerVNC.setupN)�__name__�
__module__�__qualname__�__doc__Z
short_descZplugin_nameZpackagesrr
r
r
rrs

rN)Zsos.report.pluginsrrrr
r
r
r�<module>s