Thread: kppp permission

  1. #1
    In The Light
    Join Date
    Oct 2001
    Posts
    598

    kppp permission

    howdy,
    when i dial using kppp i have to enter the root password before i can dial, can anyone tell me how to change the permission for kppp so i can dial without get root access?

    M.R.
    I don't like you very much. Please post a lot less.
    Cheez
    *and then*
    No, I know you were joking. My point still stands.

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    I would highly recoomend not doing this, as it is a serious security problem whenever you give global access to a program like that. While you're probably not using a multi-user environment, the possibility of someone gaining access to your system should always be a constant dagger hanging over your administration. In the event someone does get access, better to have critical programs restricted to a single user.

    That being said, there a few options available. The first is to find the core set of kppp executeables and move them to a directory you have permission to use, which may have certain problems if it has dependencies somewhere in a sub-directory. You could try using sudo, which is designed to let non-root users dothings as root. Failing these, wvdial is a command line program with a nice interface to your ppp device. You could always get that and install it in a place you have permission to execute (or use sudo).

    Good luck.

    starX
    www.axisoftime.com

  3. #3
    Registered User rohit's Avatar
    Join Date
    Feb 2002
    Posts
    69
    very true, StarX. setting SUID is bad at times especially if the program is buggy to overflow exploits and should be avoided .

    but the answer to the question is

    chmod 4xxx `which kppp`
    this will set the 's' superuser bit set

    cheers
    rohit

  4. #4
    In The Light
    Join Date
    Oct 2001
    Posts
    598
    howdy,
    thanks for the solution BUT now you,ve made me nervous.
    i imagine typing a password to run kppp is easier than some of the unthinkables that could be created by unknown scum bags using my box.

    Thanks

    M.R.
    I don't like you very much. Please post a lot less.
    Cheez
    *and then*
    No, I know you were joking. My point still stands.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. tmpnam() : permission denied when try to open temp file
    By happyclown in forum C Programming
    Replies: 3
    Last Post: 03-16-2009, 11:48 PM
  2. Running remove() gets permission denied error...
    By edomingox in forum C Programming
    Replies: 4
    Last Post: 01-11-2009, 12:55 PM
  3. Secure permission sets
    By Opel_Corsa in forum Linux Programming
    Replies: 1
    Last Post: 11-27-2006, 05:37 AM
  4. "failed to grant minimum permission request"
    By namespace::me in forum Tech Board
    Replies: 4
    Last Post: 10-07-2006, 06:58 PM
  5. changing file permission of a file
    By Lord CyKill in forum Linux Programming
    Replies: 5
    Last Post: 09-23-2003, 09:44 PM