# HG changeset patch # User arpi_esp # Date 985817037 0 # Node ID 3b6cf9339a123cfca8a4b321d48d0f143a8bf3e9 # Parent d734e84b4eea1a95917fcd4282440d64b6b9448c DGA: SUID not recommended diff -r d734e84b4eea -r 3b6cf9339a12 DOCS/MPlayer-FAQ --- a/DOCS/MPlayer-FAQ Wed Mar 28 21:58:44 2001 +0000 +++ b/DOCS/MPlayer-FAQ Wed Mar 28 22:03:57 2001 +0000 @@ -137,11 +137,13 @@ 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