changeset 239:3b6cf9339a12

DGA: SUID not recommended
author arpi_esp
date Wed, 28 Mar 2001 22:03:57 +0000
parents d734e84b4eea
children e96d78dafe4d
files DOCS/MPlayer-FAQ
diffstat 1 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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