Why must I sign on as root before using KPPP dialup?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why must I sign on as root before using KPPP dialup?
I Just bought the book "Linux for Non-Geeks". It contained 2 CDs and the author guides the newcomer into setting up and using Fedora Core 1. A root password and a user account and password were required and all went well with the installation. I have a usable printer and internet connection. However, I have several questions that I haven't found an answer to. First, when I click on the KPPP icon to connect, I am directed to give my root password. Isn't that risky, connecting in the root mode? I would think connecting as a user would be safer. Second, sometimes -- for no apparent reason to me, everything locks up and the only way I can excape is by hitting Contl-Alt-Backspace, which brings me back to the log-in page. Any idea what may be wrong? Is this a problem with FC1 that is corrected in another version?.
Many thanks.
In general, access to devices like the modem is a priviledged operation and thus must be done as root. Some people like to use the setuid bit on kppp, but if you don't have a problem typing the root password that's probably the best. Not sure about your freezing problem -- is there any pattern to when it freezes?
Thanks for the reply. Yes, I realize that root has to serve as the system administrator and control the modem and do other things. I was thinking along the lines that if there were, say, five users, then the root user would be kept busy serving the users. Also, I had heard never to work in root mode when you're online because it exposes your computer. As for the lockups, I'll try to keep a record of when it happens. I know it happens when I mouse click between various files. I'll try to come up with some specific examples. Thanks again for the response.
Simply running the dialer program as root isn't that big a risk (there's risk in everything, of course, it's just a matter of degree). Running things like Web browsers or IRC programs as root, though, is a really bad idea as you said.
Thanks for your response. It may be that I'm not looking at this from the right perspective. Can it be that the root password is required just to sign on, then it automatically returns to user mode? I have learned a lot about Linux from that book but there were several little projects that didn't work out when I tried them. As for the lockups, I was hoping someone would tell me that that was a problem with FC1 but that it had been corrected with a later version, such as FC3. I'll keep plugging away with it and maybe someday I can leave MS Windows behind forever and forever and forever. Again, thanks.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.