On Tue 23 May 2000 at 11:01:44, Ty van den Akker muttered:
> does anyone know where I change the permissions on my network card
> (the device) i thought there would be an eth0 in /dev/ but it wasn't
> there. I can open it as root but as any other user it won't fly.
Yes, there's not a way to access "eth0" through a normal device -- this
is because unlike normal character and block devices, network devices
have to worry about more complicated things like framing. I suppose
it's theoretically possible that such a driver could be written, but why
on earth would you want to send a raw (and thus meaningless) ASCII
stream across your Ethernet card or PPP driver?
Anyway, you've got to be root to write to any network device. Even
normal user accounts have permission only to open network sockets that
must pass through a SUID-like layer in the kernel before they can
actually be transmitted.
So if you don't have root access, you can't manipulate the interface.
Sorry. It's a "feature" not a "bug."
--
Soren Harward <[EMAIL PROTECTED]> - http://soren.cinternet.net/
"You're part of humanity."
"No I'm not, I'm in marketing."
-- Dilbert, 10 May 2000
PGP signature