现在ubuntu下的chromium浏览器用root用户则不能运行。从网上找了一些方法,记录一下,分享分享
首先装上16进制编辑器(hexedit)
root@lzy-bt5:~# hexedit /usr/lib/chromium-browser/chromium-browser 命令行或图形模式打开这个二进制文件
Tab键切换至右侧ASCII模式,Ctrl+S搜索geteuid,将其改为getppid后保存
顺便讲一下,HexEdit是一款十六进制的编辑器。
移动(Moving)
, 移动到文件首部/尾部(go to start/end of the file)
→ 下一个字符(next character)
← 上一个字符(previous character)
↑ 上一行(previous line)
↓ 下一行(next line)
Home 行首(beginning of line)
End 行尾(end of line)
PageUp 上一页(page forward)
PageDown 下一页(page backward)
杂项(Miscellaneous)
F1 帮助(help)
F2 保存(save)
F3 载入(load file)
Ctrl+X 保存并退出(save and exit)
Ctrl+C 不保存退出(exit without save)
Tab 十六进制/ASCII码切换(toggle hex/ascii)
Backspace 撤销前一个字符(undo previous character)
Ctrl+U 撤销全部操作(undo all)
Ctrl+S 向下查找(search forward)
Ctrl+R 向上查找(search forward)
复制/粘贴(Cut/Paste)
Esc+W 复制(copy)
Ctrl+Y 粘贴(paste)
以上表格来自 雪糕猪's Blog
chromium浏览器用root用户则不能运行
猜你喜欢
转载自sweblish.iteye.com/blog/1552320
今日推荐
周排行