dmesg 命令中间要 sudo 权限
Tofloor
poster avatar
jhkwei
deepin
2017-09-06 19:25
Author
昨天用dmesg 命令查一下硬件加载信息,发现要 sudo 权限。

Reply Favorite View the author
All Replies
avatar
herdde
deepin
2017-09-06 19:51
#1
当然,这不是普通命令
Reply View the author
avatar
woodelf
deepin
2017-09-06 20:26
#2
重新安装下util-linux包,并尝试不加sudo的情况下用绝对路径运行。
/bin/dmesg正常情况下是755权限,非root用户有权限运行。






来自:Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0  (zh-CN)
——2017/9/6 下午12:26:32
Reply View the author
avatar
tmacy
deepin
2017-09-06 21:26
#3
https://bbs.deepin.org/post/145144
重新安装下util-linux包,并尝试不加sudo的情况下用绝对路径运行。
/bin/dmesg正常情况下是755权限,非root ...

dmesg: read kernel buffer failed: 不允许的操作
Reply View the author