6
2
I followed this tutorial guide on "How to Create Linux Proc Files in C Program using LKM".
I've successfully made my module and loaded it in. Now I want to echo to my proc file to make sure the method gets called that's supposed to be called.
I have tried:
$ echo "hello" > /proc/procEntry123 # But it says permission is denied!
$ sudo echo "hello" > /proc/procEntry123 # Same error message.
How can I elevate privileges to echo to this file? I am the sole user and admin on this system.
"but I'm sudo", no actually you're
su
the super user. It stands for something like "Take this action as the super user" since the second half isdo
as in "do this, do that" – TheZ – 2012-09-28T23:58:55.190