D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Default gateway disappears when a root SSH putty connection is used?

 

Sam Grabham wrote:
> Hi
> 
> I have a strange problem i am currrenly looking at, when a root user 
> connects via a windoze/putty connection, the default gateway is removed. If 
> you connect with another user the gateway remains.

Probably only root user has permission to delete the default route, so 
the deletion fails with other users?

> Have looked at the files in the /root folder, profiles etc. Started to look 
> into the sysctl file and /etc/ssh etc.
> 
> Does any one know of a url that explains a step by step on scripts called 
> when ssh console opened?

SSH is complex. My best guess would be a "tun" device, and the Windows 
client set to use (or ask for) some sort of tunneling protocol. If you 
had a VPN or PPP link configured on the box in the past it might hit the 
same name and call the interface up/down scripts.

Might be easier to try it as a non-root user and look for the "failed to 
change route" statement - possibly some sort of IOCTL error.

Please try not to hijack threads -- this isn't anything to do with SVN.

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html