Weird DNS problem
Few months ago friend of mine told me about this weird DNS problem. According to him only root can browser Internet but normal users are not allowed to browser Internet or dial out. I told him how how to setup system so that normal user can dial out by adding user to dialout and dip group under Debian Linux. But still he had same problem “Root can browser Internet and normal user cannnot”. So y'day I paid visit to his house.
He uses dial up account from RIL (reliance dial up over CDMA phones). RIL provided them scripts to connect system via pppd and chat programs. Problem was one of the script or pppd itself was creating new DNS file at /etc/resolve.conf with read only permission to root user only. So only root can get address of nameserver. I quickly fixed this by modifying his /etc/ppp/options and /etc/ppp/ip-up.d/0dns-up files.
It was really weird why scripts setup read only permission on /etc/resolve.conf. Must be a BUG in ISP script and very few people using it under Linux. And those using they must be running system as root user. Just wonders how many users are willing to modify script to fix such problems?
You may also be interested in other helpful articles:
- Exporting Networked File Systems Via Another Networked File System
- Why my server recognized only 1 CPU in an SMP server under Linux?
- Linux KDE Desktop Fonts problem: edges of curves in fonts
- Linux allow / restrict system logins to specific user groups only using pam_listfile PAM module
- Howto: Linux Refresh all or an X screen Kde-Gnome desktop
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


Recent Comments
Yesterday ~ 28 Comments
Yesterday ~ 2 Comments
09/06/2008 08:37 pm (2 days ago) ~ 24 Comments
09/06/2008 12:47 pm (2 days ago) ~ 24 Comments
09/06/2008 08:33 am (2 days ago) ~ 3 Comments