LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-12-2015, 07:04 PM   #46
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651

so you use a hex editor to edit the binary

not good

then you play a vid ( as root ) not that good

then THAT VIDEO ( being a nicly hacked one calls curl to grab a file AS ROOT!!!!
now THAT IS VERY VERY BAD!!!!!

you just instilled a Trojan by playing a video AS ROOT

that is very BAD and you are a "Bleeped bleep" for doing it
Having your credit card stolen from the keyloger YOU LET BE INSTALLED is the least of your problems
 
Old 02-13-2015, 08:54 AM   #47
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by chirag07 View Post
Hope this could help you out.

http://hackingzones.com/run-vlc-as-r...buntu-pear-os/

Chirag Singh
That is funny. The guy probably's a wannabe hexer from windows.

If you are going to install a VLC build that allows running on root anyway, just
compile it with --enable-run-as-root.
 
Old 02-13-2015, 09:37 AM   #48
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by John VV View Post
then THAT VIDEO ( being a nicly hacked one calls curl to grab a file AS ROOT!!!!
now THAT IS VERY VERY BAD!!!!!

you just instilled a Trojan by playing a video AS ROOT

that is very BAD and you are a "Bleeped bleep" for doing it
Having your credit card stolen from the keyloger YOU LET BE INSTALLED is the least of your problems
You have such a good imagination.

And the guy probably thought of donwloading the file to be viewed locally and played it with VLC as root.
He also happens to be too unfortunate for having a vulnerable VLC version with vulnerable blob-parsing libraries
- with vulnerable builds that the exploit despite being generic was luckily able to compromise his system.
He also happens to have a very outdated system not having any kind of kernel-level protection - even
commonly default ones like PaX/NX and ASLR.

Last edited by konsolebox; 02-13-2015 at 09:39 AM.
 
Old 10-22-2016, 04:06 AM   #49
freezeman
LQ Newbie
 
Registered: Oct 2016
Posts: 1

Rep: Reputation: Disabled
resolve root run vlc

This is what worked for me. No compilation required.



VLC is not supposed to be run as root. Sorry. – Solution

Anyways, i installed vlc using following command ;

# aptitude install vlc

And tried to run vlc as root i got error on my terminal ;

# vlc

VLC is not supposed to be run as root. Sorry.

If you need to use real-time priorities and/or privileged TCP ports

you can use vlc-wrapper (make sure it is Set-UID root and

cannot be run by non-trusted users first).

This error says straight forward vlc can not be run as root privileged user. What to do now? Don’t be panic. Here is the hacked solution ��

# vi /usr/bin/vlc

search for geteuid and replace it with getppid

Save file & Exit.

Now it should work, try to run it again ��

or

sed -i 's/geteuid/getppid/' /usr/bin/vlc

Last edited by freezeman; 10-22-2016 at 04:18 AM. Reason: additional content
 
  


Reply

Tags
fedora



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
root account or user account arodlinux SUSE / openSUSE 3 12-23-2008 08:59 PM
fedora 10 vlc cannot run as root me_logan Linux - Software 1 12-07-2008 04:45 PM
Why is my common account can't open Terminal in XFCE4 but root account? notsay Slackware 4 08-18-2007 11:29 PM
is it legitimate and allowed and can be done to make another user account set uid and gid to null 0 to make another root account with different name and possibly not damage the debian system creating and using that new account BenJoBoy Linux - Newbie 12 01-29-2006 10:02 AM
Firefox cannot run (start and exit within 2 secs) with root account davidas Linux - Software 5 04-08-2004 01:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration