LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-06-2005, 09:39 PM   #1
h3xis
Member
 
Registered: Jan 2005
Distribution: Debian "Lenny"
Posts: 66

Rep: Reputation: 15
kppp permissions


just upgraded to fc3 and changed the permissions to allow me to run kppp without entering the root password each time i start it. well...this has always worked in past fedora versions except core 3. kppp will start but before it does it gives me a message saying

"you don't have sufficient permissions to run

/usr/sbin/pppd

please make sure that kppp is owned by root and has the SUID bit set."

so i gave myself permission to run pppd as well...but still got the same message. anyone know how to get around this?
 
Old 01-06-2005, 11:29 PM   #2
bobbyjoe
Member
 
Registered: Nov 2004
Posts: 46

Rep: Reputation: 15
I don't know how you could get around with this.

Depend on your needs, but could you get the kppp client/deamon to start auto at boot (like a service)? With Mandrake it is pretty easy, but I don't know how to do it with Fedora.
 
Old 01-11-2005, 10:09 AM   #3
HalfDiminished
Member
 
Registered: Jan 2005
Location: Santa Barbara, CA
Distribution: Ubuntu Hoary/Debian 3.1/RHEL-WS3/DSL 1.1
Posts: 66

Rep: Reputation: 15
I am deep into this problem currently, and I don't have the perfect solution yet. However, here are some pointers:
make sure you have setuid permissions on pppd. The permissions string should include an 's'. I would also have this set on kppp. Also, make sure you (user) are a member of the groups that kppp and pppd are. This works for me to at least open kppp and dial the modem. However, now I get a 'ppp0 interface not found' error (as a user, I get the same error as root, but the pppd daemon doesn't die and I can surf the net - kinda bogus huh)

The other traditional way to get around this is to set up sudo. This is what I did on FC1 and it worked well. However, on Debian Sarge, it causes a login problem involving the .ICEauthority file (search kppp and .ICEauthority to see my post there - as of yet not solved). Bear in mind that to set up sudo you have to use vim (actually visudo).

Shoot me a message if you need more specifics
 
Old 02-10-2005, 10:22 AM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
After reading up on sudo I think it isn't the sollution for me: I'd still need to provide a password, and I'd like to start kppp with cron.

As for the other sollution, I'm not sure I understand it. How do I set setuid permissions.
Has anyone found a complete and satisfactory sollution to this problem in any way?
 
Old 02-10-2005, 03:50 PM   #5
h3xis
Member
 
Registered: Jan 2005
Distribution: Debian "Lenny"
Posts: 66

Original Poster
Rep: Reputation: 15
wow i didn't know this thread was still alive. i got it a while back. all i did was remove the symbolic link in /usr/bin and then chmod u+s /usr/sbin/kppp and then remade the symbolic link to /usr/bin. works fine now.
 
Old 02-11-2005, 05:51 PM   #6
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
I wasn't really, I was just checking before I writing a new thread and came across theis... thanks for the info
 
  


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
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 ewto Linux - Software 6 08-30-2003 11:39 PM
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 01:04 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration