[译]root权限运行vlc

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

[quote]apt-get install vlc
cp /usr/bin/vlc /usr/bin/vlc-backup[/quote]
使用hexeditor编辑vlc
[quote]hexeditor /usr/bin/vlc[/quote]

[quote]ctrl+w,选择search for text string,回车[/quote]
[img]http://dl2.iteye.com/upload/attachment/0113/4459/0f8dce43-f29d-3a94-b0d1-f3ec6836160e.jpg[/img]
[quote]输入geteuid [/quote]
[img]http://dl2.iteye.com/upload/attachment/0113/4461/91427462-751d-3b89-a248-2ce384b70099.jpg[/img]
[quote]按tab健,可以把hexeditor切换到ascii格式
geteuid 替换为getppi[/quote]d
[img]http://dl2.iteye.com/upload/attachment/0113/4463/e801d6c4-6d8f-34d1-8b2e-9b8bcaca09f5.jpg[/img]
[quote]ctrl+x保存退出
[/quote]
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值