2005-02-17 17:14:55

by Deepti Patel

[permalink] [raw]
Subject:

Hi
I am getting an error while inserting an hello world program.

[deepti@marieke deepti]$ /sbin/insmod hello-2.ko
insmod: error inserting 'hello-2.ko': -1 Operation not permitted

I haven't logged in as root. For inserting a module do I need to logged in as root?
I will really appretiate any suggestions.

Thanks in advance



--
_______________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10


2005-02-17 17:49:12

by Matthias-Christian Ott

[permalink] [raw]
Subject: Re:

Deepti Patel wrote:

>Hi
>I am getting an error while inserting an hello world program.
>
>[deepti@marieke deepti]$ /sbin/insmod hello-2.ko
>insmod: error inserting 'hello-2.ko': -1 Operation not permitted
>
>I haven't logged in as root. For inserting a module do I need to logged in as root?
>I will really appretiate any suggestions.
>
>Thanks in advance
>
>
>
>
>
Jep you need to be root.

Matthias-Christian Ott