Friday, May 31, 2013

Run VLC Player as "root" user in Fedora/RHEL/CentOS

Subject: Run "VLC Player" as a "root" user in Fedora/RHEL/CentOS 5x/6x

This hand's on assumes that you have installed VLC media player on your respective Linux platform & having "rpmforge & rpmfusion" repository in "/etc/yum.repos.d/" directory.

Perform below hand's now.

1) Install "hexedit" utility in linux using yum. The command is,

yum install hexedit

2) After successful installation, open "/usr/bin/vlc" using hexeditor as given below.

hexedit /usr/bin/vlc

3) Now, Press "TAB" key

4) Now, Press "Ctrl + S" key to search ASCII string.

5) In the given search box, type "geteuid" & replace it with "getppid"

6) Now, Press "Ctrl + X" to save the file.

Finally, your VLC player is ready to run as "root" user. Verify it & comments are always welcomed,if this post is useful to you.

This hand's on has been tested on "CentOS & RHEL 6.0" & will work with Fedora editions too.


Nishith N.Vyas