From 7dbb41a3eab37501dc223db45745697b2d0e5034 Mon Sep 17 00:00:00 2001 From: arpi_esp Date: Wed, 28 Mar 2001 22:03:57 +0000 Subject: [PATCH] DGA: SUID not recommended git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@240 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/MPlayer-FAQ | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/DOCS/MPlayer-FAQ b/DOCS/MPlayer-FAQ index f51f4f24fb..85e346079b 100644 --- a/DOCS/MPlayer-FAQ +++ b/DOCS/MPlayer-FAQ @@ -137,11 +137,13 @@ A: ./configure autodetects your DGA driver. If -vo help doesn't show Q: Ok, -vo help shows DGA driver, but it is babbling about permissions! Help me! -A: Make the mplayer binary SUID root. Become root and type the following: - 'chown root /usr/local/bin/mplayer' - 'chmod 750 /usr/local/bin/mplayer' - 'chmod +s /usr/local/bin/mplayer' - Now it works as a simple user, too. +A: It works only if running as root! It's a DGA limitation. + You should become to root (su -), and try again. + + Another solution is making mplayer SUID root, but its NOT RECOMMENDED! + 'chown root /usr/local/bin/mplayer' + 'chmod 750 /usr/local/bin/mplayer' + 'chmod +s /usr/local/bin/mplayer' !!!! BUT STAY TUNED !!!! This is a BIG security risk! Never do this on a server or on a computer can be accessed by more people than only you because they can gain root