LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 08-30-2003, 01:04 AM   #1
ewto
Member
 
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58

Rep: Reputation: 15
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
 
Old 08-30-2003, 10:19 AM   #2
ewto
Member
 
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58

Original Poster
Rep: Reputation: 15
Angry 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
 
Old 08-30-2003, 10:55 AM   #3
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
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 10:58 AM.
 
Old 08-30-2003, 01:18 PM   #4
ewto
Member
 
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58

Original Poster
Rep: Reputation: 15
Unhappy 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."
 
Old 08-30-2003, 05:17 PM   #5
rshaw
Senior Member
 
Registered: Apr 2001
Location: Perry, Iowa
Distribution: Mepis , Debian
Posts: 2,692

Rep: Reputation: 45
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.
 
Old 08-30-2003, 07:44 PM   #6
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
All you have to do is
as root
chmod u+s /sbin/kppp
ln -s /usr/sbin/kppp /usr/bin/kppp
 
Old 08-30-2003, 11:39 PM   #7
ewto
Member
 
Registered: Jan 2003
Location: Ohio, USA
Distribution: RH 9.0 / Fedora Core 3
Posts: 58

Original Poster
Rep: Reputation: 15
Talking 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."
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kppp permissions h3xis Linux - Software 5 02-11-2005 05:51 PM
changing kppp permissions jamessp007 Linux - Software 14 01-29-2005 06:10 PM
KPPP Permissions AmdMhz Linux - Software 3 10-01-2004 07:58 AM
kppp permissions? exper13nce Linux - Hardware 9 03-30-2003 08:55 AM
KPPP Permissions SML Linux - Newbie 3 12-10-2002 06:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration