diff options
author | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-03-28 22:03:57 +0000 |
---|---|---|
committer | arpi_esp <arpi_esp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-03-28 22:03:57 +0000 |
commit | 7dbb41a3eab37501dc223db45745697b2d0e5034 (patch) | |
tree | 59a1923395c543befe0ca4fc6fc4b1fcded5d3d1 | |
parent | 257d7c1dec9755a0797105c907f63cc41b3540fc (diff) | |
download | mpv-7dbb41a3eab37501dc223db45745697b2d0e5034.tar.bz2 mpv-7dbb41a3eab37501dc223db45745697b2d0e5034.tar.xz |
DGA: SUID not recommended
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@240 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | DOCS/MPlayer-FAQ | 12 |
1 files 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 |