Luis Baars on Mon, 13 Mar 2000 10:18:56 -0500 (EST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Sucess!


Hi John,

Probably, the most secure way of doing this would be to create a special group, call it modem, or connect, or something like that and make your normal operating account the only user.

Then go to the directory where pppd is located (it should be /usr/sbin but I'm not sure because I'm on an ethernet link) and su - to root. If you can't find pppd in this directory, use the which command to find out where root is running pppd from. Now type in the following commands as root.

# chgrp modem pppd <enter>
# chmod 4750 pppd <enter>

Now, if you do a long listing of pppd, it should look like this:

-rwsr-x---     1  root   modem      12345 Jan 01 00:00 pppd

This will allow anyone in the modem group to run pppd. Since the suid bit is set, that means that the program will take on root permissions everytime it is run.

I hate having to su to root everytime I want to start something like pppd. This should give you the flexibility of running a root program without creating a big huge security hole.

-Luis

----Original Message Follows----
From: John Lavin <jlavin1@voicenet.com>
Reply-To: plug@lists.nothinbut.net
To: Philadelphia Linux Users Group <plug@lists.nothinbut.net>
Subject: [PLUG] Sucess!
Date: Sun, 12 Mar 2000 00:16:45 -0500

Well, its takenquite a bit, but I've finally gotten my modem and
networking talking nicely with Voicenet.  As some suggested, it was, in
fact, my DNS config that needed tweaking.  Once I found the appropriate
numbers from voicenet, and input them into KPPP, I was set!

I do have a less than adequate setup right now though.  I'm logged on as
root right now because when I attempted to use KPPP as a normal user,
KPPP gave me a message that pppd needed to be set with a SUID flag to
run.  I'm sure I don't know how, exactly, to do this.  Any suggestions?

Right now I'm downloading all my messages off the server and enjoying my
new found freedom!

Thanks for everyone's help and comments - Now on to configuring my
Soundcard!
-john
--
John Lavin
jlavin1@voicenet.com


______________________________________________________________________ Philadelphia Linux Users Group - http://plug.nothinbut.net Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce General Discussion - http://lists.nothinbut.net/mail/listinfo/plug


______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com


______________________________________________________________________ Philadelphia Linux Users Group - http://plug.nothinbut.net Announcements - http://lists.nothinbut.net/mail/listinfo/plug-announce General Discussion - http://lists.nothinbut.net/mail/listinfo/plug