Run Vlc Player as Root

Try Fast Read

1. Open vlc binary in a hex editor ghex /usr/bin/vlc [yum install ghex]
2. Now search for the following string geteuid by using find, type the string to be searched on right hand side; You’ll see something like geteuid._libc_start_main
3. Replace the string as getppid so it looks like getppid._libc_start_main
4. Save and close and run vlc using vlc command in terminal

If you see -bash-xxx instead of root@smjrifle then do the following:
1. Open vim ~/.bashrc
2. Append export PS1='[u@h W]$ ‘ into the file and save it and restart terminal 🙂

Post navigation