Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!ihnp4.ucsd.edu!news.cerf.net!mvb.saic.com!news.alpha.net!MathWorks.Com!uhog.mit.edu!europa.eng.gtefsd.com!howland.reston.ans.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!news.iastate.edu!michaelv From: michaelv@MindBender.HeadCandy.com (Michael L. VanLoon) Newsgroups: comp.os.386bsd.questions Subject: Re: Does 'route flush' work? Date: 18 Aug 1994 18:43:30 GMT Organization: HeadCandy Associates... Playing with your mind Lines: 17 Message-ID: <MICHAELV.94Aug18134330@MindBender.HeadCandy.com> References: <CuqIwJ.7MM@usenet.ucs.indiana.edu> <jbrown.70.000DCBAF@umi.com> NNTP-Posting-Host: stingray.cc.iastate.edu In-reply-to: jbrown@umi.com's message of Thu, 18 Aug 1994 13:47:38 In article <jbrown.70.000DCBAF@umi.com> jbrown@umi.com (Jim Brown) writes: You have to be root to use the route add/delete/flush commands. You will have to modify your script to run setuid root (<--A SECURITY HOLE) or write a wrapper C program to call route that you can make setuid root. Note that pppd runs as setuid root, so if you use the /etc/ppp/ip-up and /etc/ppp/ip-down scripts to work out these things, you'll have no problems using the route command. -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Michael L. VanLoon michaelv@HeadCandy.com michaelv@iastate.edu Free your mind and your machine -- NetBSD free un*x for PC/Mac/Amiga/etc. Working NetBSD ports: 386+PC, Mac, Amiga, HP300, Sun3, Sun4c, PC532 In progress: DEC pmax (MIPS R2k/3k), VAX, Sun4m - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -