mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-22 01:50:56 -07:00
Hack to allow VLC to run as root.
Former-commit-id: a55a45cb36301ca49c385f55b66aac280da52851 Former-commit-id: 9cdf6eb6f92f06bc145aaad8351c9f519047683c
This commit is contained in:
parent
5f9da0e041
commit
a8b46bcd8b
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ systemctl enable cockpit.socket
|
||||||
systemctl enable xrdp
|
systemctl enable xrdp
|
||||||
systemctl disable firewalld
|
systemctl disable firewalld
|
||||||
|
|
||||||
|
#Allow VLC to run as root
|
||||||
|
sed -i 's/geteuid/getppid/' /usr/bin/vlc
|
||||||
|
|
||||||
#Distro-specific stuff
|
#Distro-specific stuff
|
||||||
DISTRO=$(cat /etc/lsb-release | grep DISTRIB_ID | cut -c 12-30)
|
DISTRO=$(cat /etc/lsb-release | grep DISTRIB_ID | cut -c 12-30)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue