SUCCESS!

regular users can see all info from /sbin/ifconfig, ping 127.0.0.1
gets replies, and wget no longer throws "Permission denied".

I had been trying to figure this problem out for months.

I thought the only customisations made to the kernel were around the
hardware - ARM SOC platforms, integrated peripherals, etc. I didnt
have any clue that extra network security bits had been added.

I had looked through the /proc/config.gz but completely missed the
line that says CONFIG_ADROID_PARANOID_NETWORK=y

Thanks very much to everyone for your help!

On Tue, Aug 30, 2011 at 9:11 AM,  <pe...@chubb.wattle.id.au> wrote:
>
> It's nothing to do with locales.
>
> This line:
>
> socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = -1 EACCES (Permission denied)
>
> is your problem.
>
> My guess is you're using an android derived kernel, and you have
> CONFIG_ANDROID_PARANOID_NETWORK set.  In this case you need to create
> a group called aid_inet and add yourself (and any other users wanting
> to use the network) to that group:
>
> As root:
>  groupadd -g 3003 aid_inet
>  usermod -G aid_inet your_login_name
>
> See http://elinux.org/Android_Security#Paranoid_network-ing
>
> y
>
>



-- 
Kind Regards,

Christopher Barnes

e. chris.p.bar...@gmail.com
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to