[译]root权限运行vlc

原文地址: http://www.blackmoreops.com/2015/11/02/fixing-vlc-is-not-supposed-to-be-run-as-root-sorry-error/

引用
apt-get install vlc
cp /usr/bin/vlc /usr/bin/vlc-backup

使用hexeditor编辑vlc
引用
hexeditor /usr/bin/vlc


引用
ctrl+w,选择search for text string,回车


引用
输入geteuid


引用
按tab健,可以把hexeditor切换到ascii格式
geteuid 替换为getppi
d

引用
ctrl+x保存退出

猜你喜欢

转载自j4s0nh4ck.iteye.com/blog/2260678
今日推荐