Re: user-controllable eth0 in gentoo?

Top Page
Attachments:
Message as email
+ (text/plain)
+ signature.asc (application/pgp-signature)
Delete this message
Reply to this message
Author: Bryce C
Date:  
To: PLUG
Subject: Re: user-controllable eth0 in gentoo?
Hmm... and the only way I can think is to setuid ifconfig (and add
/sbin/ to your path). If I had a running RH system, I'd start digging
through the various init and shell scripts, tracing down $USERCTL. You
might do same, or ask on the a RH forum or IRC channel how it's done. It
may very well be that they've patched their kernel to allow non-root
access to the device, otherwise, you would get "SIOCSIFFLAGS: Permission
denied".
Good luck.


On Tue, 2004-05-18 at 23:32, plug-discuss wrote:
> I haven't gotten any good replies in the gentoo forums on this one, so I am turning to the gentoo-guru's here again.
>
> How do I give a non-root user priviledges to bring up and down eth0? Setuid and sudo are not what I'm looking for. I actually want to lower the priviledge level required to control eth0. Red Hat does this with the USERCTL=yes option in /etc/sysconfig/network-scripts/ifcfg-eth0. Unfortunately, I have no idea how they pull that off.
>
> Ideas?
>
> Thanks,
> ...Kevin
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

--
Bryce C <>
CoBryce Communications