vijayanand writes: > I am able to see /dev/ip in my solaris box. But i'm having problem with the > following command,
What version of Solaris? > $ ndd -get /dev/ip \? > open of /dev/ip failed: Permission denied That's normal. > When I was searching for a solution in internet, I found the following > workaround .... > > - replace the following line in /etc/security/device_policy : That file is new in Solaris 10. If you don't have it, then I'd suspect you aren't running Solaris 10. I also don't think that changing this entry (if you had it) would be wise. > 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. You need to have sufficient privileges to open /dev/ip. One simple way to solve the problem is to become root -- su or sudo. A more robust but harder way to do it is to give 'ndd' the right privileges in /etc/security/exec_attr and then assign yourself to a profile that has the right authorization and use pfexec or one of the profile shells. You can read more about this in rbac(5). -- James Carlson, KISS Network <[EMAIL PROTECTED]> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677 _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org