[Ti] must be root to alter routing table

Paul Russell prussell at sonic.net
Sun Dec 14 22:27:50 PST 2003


>At 14:02 -0500 14/12/03, Wesley Griffin wrote:
>>Here's what you want:
>>
>>route add default xxx.xxx.xxx.x
>>
>>specifying your firewall IP for <router ip>.
>
>Wesley - so, from Terminal, I typed the above command (but with my 
>firewall IP address, which I have not included for security 
>reasons), and got the message "must be root to alter routing table".
>
>I clearly need to do something else to identify myself as "root", 
>but I am not sure what it is !
>
>Could you advise ?  Thanks.  Sorry to trouble you, but I am so 
>close, yet so far.
>

Just prefix the command with "sudo", i.e.

% sudo route add default xxx.xxx.xxx.x

You will then be prompted for your password.

Paul

-- 



More information about the Titanium mailing list