Computing.Net > Forums > Solaris > Can't access /dev/ip with ndd -get

Can't access /dev/ip with ndd -get

Reply to Message Icon

Original Message
Name: vanand
Date: February 6, 2006 at 15:14:34 Pacific
Subject: Can't access /dev/ip with ndd -get
OS: solaris
CPU/Ram: Blades/Ultra 10/Ultra spa
Comment:

Hi all,

I am able to see /dev/ip in my box. But i'm having problem with the following command,

$ ndd -get /dev/ip \?
open of /dev/ip failed: Permission denied

When I was searching for a solution in internet, I found the following workaround ....

- replace the following line in /etc/security/device_policy :
<code>ip read_priv_set=net_rawaccess write_priv_set=net_rawaccess</code>
with:
<code>ip read_priv_set=net_icmpaccess write_priv_set=net_icmpaccess</code>

But unfortunately I couldn't find the file 'device_policy' under /etc/security. I'm a

beginner and struggling to find a solution for this.

If any of you have solution please reply.

Thanks in advace,
Vijay.



Report Offensive Message For Removal


Response Number 1
Name: loup
Date: March 3, 2006 at 04:19:26 Pacific
Subject: Can't access /dev/ip with ndd -get
Reply: (edit)

If you don't want to deal with role based access control, try again as root.


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Can't access /dev/ip with ndd -get 

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software