LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-01-2002, 09:16 PM   #1
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Rep: Reputation: 30
Changing kppp permisions


kppp always asks for root password, how can I change this so all users can access it?
 
Old 10-02-2002, 05:36 AM   #2
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
To do it my newbie way, log in as root, right click on kppp or your connection and set its permissiosn to 'WRITE' for USER, GROUP and OTHERS...

hope this helps..

Garry
 
Old 10-02-2002, 05:37 AM   #3
GT I.N.C
Member
 
Registered: May 2002
Location: Australia, Sydney, St.Clair
Distribution: Rh 7.3
Posts: 836

Rep: Reputation: 30
woops i mean 'READ'

sorry
 
Old 10-02-2002, 01:14 PM   #4
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Original Poster
Rep: Reputation: 30
I'm in KDE, when I right click it launches it out of the menu.....so that didn't work.....
 
Old 10-02-2002, 01:19 PM   #5
Glock Shooter
Member
 
Registered: Jan 2002
Location: Riverside, CA
Distribution: Slackware Convert!!
Posts: 210

Original Poster
Rep: Reputation: 30
I found this in google

Try the following:

rm /usr/bin/kppp
chmod u+s /usr/sbin/kppp
ln -s /usr/sbin/kppp /usr/bin/kppp

The first line removes a symbolic link to the real binary. The second line changes the permissions on kppp so that it will run as root no matter what user runs the program. The last line re-creates the link that you removed in the first step. The net effect is that the binary runs as root, no matter what the UID of the user running the program. This means that you don't have to supply a root password.

Please be aware of what you're doing, though. Many security holes are the result of fooling a program with root permissions into behaving poorly. If kppp can be manipulated with spurious input, arbitrary code might be made executable with root permissions. I have no idea of the degree to which kppp is (or is not) susceptible to being abused in this fashion.


That fixed it for me.
 
  


Reply



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
permisions charnel Linux - General 3 07-10-2005 02:53 PM
changing kppp permissions jamessp007 Linux - Software 14 01-29-2005 05:10 PM
kppp problem, need to fix it or find kppp alternative trisha Linux - Networking 0 08-08-2004 03:04 PM
New to redhat. need help with changing folder permisions vinpor Linux - Software 3 05-09-2004 06:08 AM
Changing dial method in KPPP akr85 Linux - General 2 04-02-2002 09:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:31 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