From 75033569c9a9e2582b79d45a365d27853c888a1a Mon Sep 17 00:00:00 2001 From: Kaj Forney Date: Thu, 24 Jan 2019 14:33:28 -0700 Subject: [PATCH] Hack to allow VLC to run as root. Former-commit-id: a55a45cb36301ca49c385f55b66aac280da52851 Former-commit-id: 9cdf6eb6f92f06bc145aaad8351c9f519047683c --- config/pentest-distro-builder.chroot | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/pentest-distro-builder.chroot b/config/pentest-distro-builder.chroot index 0cdd367b..5d45a00c 100644 --- a/config/pentest-distro-builder.chroot +++ b/config/pentest-distro-builder.chroot @@ -22,6 +22,9 @@ systemctl enable cockpit.socket systemctl enable xrdp systemctl disable firewalld +#Allow VLC to run as root +sed -i 's/geteuid/getppid/' /usr/bin/vlc + #Distro-specific stuff DISTRO=$(cat /etc/lsb-release | grep DISTRIB_ID | cut -c 12-30)