mirror of
https://github.com/mpv-player/mpv
synced 2024-12-21 06:14:32 +00:00
DGA: SUID not recommended
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@240 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
257d7c1dec
commit
7dbb41a3ea
@ -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!
|
Q: Ok, -vo help shows DGA driver, but it is babbling about permissions!
|
||||||
Help me!
|
Help me!
|
||||||
A: Make the mplayer binary SUID root. Become root and type the following:
|
A: It works only if running as root! It's a DGA limitation.
|
||||||
'chown root /usr/local/bin/mplayer'
|
You should become to root (su -), and try again.
|
||||||
'chmod 750 /usr/local/bin/mplayer'
|
|
||||||
'chmod +s /usr/local/bin/mplayer'
|
Another solution is making mplayer SUID root, but its NOT RECOMMENDED!
|
||||||
Now it works as a simple user, too.
|
'chown root /usr/local/bin/mplayer'
|
||||||
|
'chmod 750 /usr/local/bin/mplayer'
|
||||||
|
'chmod +s /usr/local/bin/mplayer'
|
||||||
!!!! BUT STAY TUNED !!!!
|
!!!! BUT STAY TUNED !!!!
|
||||||
This is a BIG security risk! Never do this on a server or on a computer
|
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
|
can be accessed by more people than only you because they can gain root
|
||||||
|
Loading…
Reference in New Issue
Block a user