Hi,
When i type netstat command as normal user it shows following error
$ netstat
arp open: Permission denied
can't open mib stream
I can execute the command as root user..
Pls reply at the earliest
Hi,
When i type netstat command as normal user it shows following error
$ netstat
arp open: Permission denied
can't open mib stream
I can execute the command as root user..
Pls reply at the earliest
Not sure why netstat would do that as it is based on kstat so that normal user can use it. However it uses arp internally so check if the permissions of `which arp` got screwed up. On my sparc system it is
xxxx% ls -l /usr/sbin/arp
-r-xr-xr-x 1 root bin 10252 Aug 16 2007 /usr/sbin/arp
xxxx% ls -l `which netstat`
-r-xr-xr-x 1 root bin 83456 Aug 16 2007 /usr/bin/netstat
Thanks