[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Modifying Routing Tables on the fly


I am trying to modify a route table dependant on which user logs in through
a dial-up connection.
viz:	route add eth0

I have already got

route add -net netmask lo
to stop other users getting to the local network (other than what they are
supposed to)

I have set up the user's login shell to run the file to add the route and 
ip-down to remove the route.

I get the error message:

SIOCADDRT : Operation not permitted.

I gather this is because the user is not root.

Is there a way to safely change the routing table dependant on who logs in

Any help would be appreciated.



TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: