`
Sweblish
  • 浏览: 100986 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

chromium浏览器用root用户则不能运行

 
阅读更多
    现在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
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics