|
From: Erik P. <epa...@up...> - 2000-10-07 19:17:42
|
On Fri, Oct 06, 2000 at 06:12:26PM -0500, Jeff Dike wrote: > ma...@co... said: > > Is there any way to setup networking without running UML as root? > > UML can be running as a normal user, but you do need a suid helper. With the > umn device, just put a suid root ifconfig somewhere in your path. > > With the eth device, you run um_eth_net_util as root if you want access to the > host networking. If you only want to network UMLs, then that doesn't even > need to run as root. This requirement of even having a suid is kind of a bummer - for many apps simply proxying at the socket level from the UML kernel to the host kernel would be completely sufficent - imagine someone running a sandboxed app, or (when UML gets ported to say FreeBSD) running a Linux app that opens a non-priviliged socket up to the network. There doesn't seem to be any theoretical reason why that shouldn't be possible. Many sysadmins (myself included) get very nervous when users ask for a suid helper. -Erik > > Jeff > > > _______________________________________________ > User-mode-linux-user mailing list > Use...@li... > http://lists.sourceforge.net/mailman/listinfo/user-mode-linux-user |