DGA: SUID not recommended

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@240 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi_esp 2001-03-28 22:03:57 +00:00
parent 257d7c1dec
commit 7dbb41a3ea
1 changed files with 7 additions and 5 deletions

View File

@ -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