Linux

[linux] dmesg read kernel buffer failed

thxxyj 2022. 10. 1. 18:44
728x90

user@myserver:~$ dmesg

dmesg: read kernel buffer failed: Operation not permitted

user@myserver:~$ sudo sysctl kernel.dmesg_restrict=0          // 한번만 실행해주면

[sudo] password for user:

kernel.dmesg_restrict = 0

 

728x90