On 2003-11-28 23:21:50 +0000 Martin Collins sickofthesea@btinternet.com wrote:
Hi, would anyone know why KPPP (Suse 8.2) would seem to keep deleting the file /etc/resolv.conf?
It's probably trying to replace the nameserver details with the ones provided by the connection.
kppp itself is restricted to the group 'dialout' and chmod 4750 (as per the instructions in the kppp kde manual).
The lead 4 indicates setuid. I'm guessing that kppp is owned by root. This means that kppp is running as root, so can quite happily mess with whatever files it wants to. This seems an amazingly insecure setup, but let's not mess with it just now. I understand that fixing it is covered in the kppp docs.
"kppp ate my resolv.conf" seems a popular cry on KDE mailing lists. Try checking the DNS tab on "Edit Account" panel. Maybe toggling "Disable existing DNS" will help. If it doesn't, for brute force "chmod a-w /etc/resolv.conf" to stop kppp writing to it, but it might moan.