• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

Starting PPP outside of "root"

PPP can only be started from the "root" ID.  ("PPP is not installed...").  Even using another ID with the "su" command won't start PPP (modem initializes and then PPP is aborted).  I remember reading this in a FAQ once, but at the time I read it PPP wasn't installed.  Now I can't find that information anywhere.

I'm using RedHat Linux Pro 4.1a.  I also have Linux 4.1 (Vanderbilt) on-hand, but it isn't currently installed (if you have a solution that only works in Vanderbilt, I'd be willing to switch Linux versions).
1 Solution
I'm using "sudo" to get around this problem.  sudo lets you setup certain users to run commands as root.  It's similar to su, but I haven't had your problem of pppd exiting.

You should also check to see that /usr/sbin/pppd is specified, as /usr/sbin is not usually in the default PATH.

You can get sudo from the contrib area on RedHat's FTP site, but I use it with RedHat 4.2.  I don't know if the supplied RPM file works under RedHat 4.1.  If you decide to use sudo, let me know, and I'll send you a relevant sudoers file to start with.
(ftp://ftp.redhat.com/pub/contrib, I think)
mrcmillerAuthor Commented:
The FTP address is coming back "No DNS entry" but it appears to be correct according to the RedHat web site.  At any rate, I am interested in obtaining a copy of "sudo" -- it sounds like a program that could tackle a number of similar situations.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now