Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
08-30-2003, 12:04 AM
|
#1
|
Member
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58
Rep:
|
kppp permissions
I'm trying to set kppp so that it can be used to create a dialup connection by any user. I read the kppp guide, and I'm using kpp ver 2.1.1. according to the guide, when kppp first launches it looks for the file /etc/kppp.allow and checks to see what users are listed there... I created that file, listed my users by user name, gave it permissions as:
-rw-r--r-- 1 root root
however, when run by anyone but root it wants the su- password before it will load and let the user dial up.
Is there a better way to accomplish this, or am I missing something?
Thanks
Eric

|
|
|
08-30-2003, 09:19 AM
|
#2
|
Member
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58
Original Poster
Rep:
|
Still Trying ....
I've also tried placing the kppp file into a group and giving that group read and execute permissions, although I may have done this wrong because it didn't work.
Is this the file that loads kppp to the desktop?
/usr/share/applications/kde-kpppload.desktop
and if so, will changing it's ownership to the group (is that even possible?) or changing the permissions of that file do it?
The Official Redhat Linux Users Guide  sucks, BTW.
help ....
Eric 
|
|
|
08-30-2003, 09:55 AM
|
#3
|
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692
Rep:
|
delete /etc/kppp.allow, it will make one for you. put everything back where it was. at root prompt: cd /dev , then chmod 666 ttyS0 <or whatever port your using>. make a symlink ln -s ttyS0 modem, cd to /udr/sbin <or wherever pppd lives on a RH box> and chmod 6755 pppd, remove the lock option from /etc/ppp/options, then chmod 777 /var/lock , launch kppp, fill in the info and your done.
Last edited by rshaw; 08-30-2003 at 09:58 AM.
|
|
|
08-30-2003, 12:18 PM
|
#4
|
Member
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58
Original Poster
Rep:
|
not yet ...
So much to learn! Nothing like starting something new to let one know how completely inept he is... and I am living it!
Thanks for the detailed instructions, I did all that without a problem, but it still asks for the root password anytime a user tries to run kppp. I went back and checked to make sure that all the chmod commands were successful by doing an ls -l on each of those files, and the permissions were changed.
At the risk of running out my welcome ... Anything else?
Thanks
Eric
"Health is merely the slowest possible rate at which one can die."
|
|
|
08-30-2003, 04:17 PM
|
#5
|
Senior Member
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692
Rep:
|
grrr.... now i remember why i don't use kppp anymore.
Edit the file /etc/pam.d/kppp and change the word rootok to permit.
|
|
|
08-30-2003, 06:44 PM
|
#6
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
All you have to do is
as root
chmod u+s /sbin/kppp
ln -s /usr/sbin/kppp /usr/bin/kppp
|
|
|
08-30-2003, 10:39 PM
|
#7
|
Member
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58
Original Poster
Rep:
|
It works ...
Quick question, though...
I did it the way rshaw told me to do it and it works fine now. (Thanks rshaw!!)
Is there some benefit or drawback to doing it one way versus the other? Security?
Thanks guys.
Eric
"Health is merely the slowest possible rate at which one can die."
|
|
|
All times are GMT -5. The time now is 01:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|