Run VLC as root

Running VLC as root user is absolute NO. However, we are going to do this. Read this post to know how? When I first installed Arch the default user was root. I know how to create users in Linux but I just wanted to run VLC as root. If you want too, go ahead and follow the steps below:

Step one: install hexedit. For Arch Linux use pacman -S hexedit

Step Two: backup vlc. cp -p /usr/bin/vlc /usr/bin/vlc_backup

Step Three: Open vlc in hexedit, hexedit /usr/bin/vlc

Step Four: Replace geteuid with getppid,
a. Press TAB, to go to hex ASCII values
b. To Search use Ctrl+s
c. type geteuid and press enter then type getppid
d. Press Ctrl+x to save

Step Five: Start vlc as root

Comments

Popular posts from this blog

Automate file upload in Selenium IDE

How To Install and Configure Nextcloud