If this is your first visit, be sure to
check out the Forum Rules by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: Get VLC to work under root without compiling

Okay everybody;
ticktack is technically absolutely correct. That being said, it is absolutely stupid that this thread has gone on so long, so to reiterate; for those of you whom wish to modify the hex value (although technically incorrect):

Open Terminal:

Code:

apt-get install ghex

Open Filesystem/usr/bin
Right click on vlc --->click on open with --->other applications--->Hex Editor

THEN

Click Edit Menu--->Replace--->in the top right box type in geteuid--->in the bottom right box type in getppid

Exit and save. So easy a monkey could do it...but still wrong. That said; you are using BackTrack Linux-not Ubuntu. If you want easy, you are in the wrong distro.

Re: Get VLC to work under root without compiling

Since BackTrack 5 and VLC are both open source, I don't understand why people keep talking about a right way and wrong way. There are several tricks to run vlc as root like editing a simple hex value like I posted, compiling as ticktack posted and probably a couple more ways.

In my opinion it's not important HOW you do it as long as you succeed. None of the techniques posted in this thread will damage you PC. (Also due to the fact that BT5 is not for linux beginners, but for advanced users who know what they are doing.)

So I say use whatever technique you want. It's a freedom Windows user do not get. Quit criticizing techniques you think you know a better way for. The purpose is to run VLC as root which my first post made possible.

That being said, I hope this topic can be locked before this becomes bigger than it already is.

Re: Get VLC to work under root without compiling

Re: Get VLC to work under root without compiling

cgelici,

Thank you for the wonderful little hack. I had encountered the same situation when trying to install VLC. You have now given me a new option that I didn't have before, I cannot wait to try this out tonight. Once again, hacking is instrumental in changing things for the better.

I'd like to point out as a side note though; a lot of "newbies" to the linux world try to insist on using BackTrack as their learning platform. While it is highly recommended AGAINST; I must confess, BT3 is where I got my start in linux, because I too was insistent.

For the Linux users just starting out that insist on learning with BackTrack; please please PLEASE...be aware that doing things as ROOT gives ANY program ROOT access; and if you decide to use the above stated hack to doctor up your VLC and then you watch some pr0n, and then you notice your system acting weird...Well...You were warned.

V/r,
Snafu
Pffbt..

I made a discovery today. I found a computer. Wait a second, this is cool. It does what I want it to. If it makes a mistake, it's because I screwed it up. Not because it doesn't like me... Or feels threatened by me.. Or thinks I'm a smart ass..