Did someone answer this already? In case not ...

First thing to do is find it. It's directory probably is in root's PATH but
not the default PATH for ordinary users. It's probably in /usr/sbin - ppp
executables usually are. As an ordinary user, try:

/usr/sbin/ifup ppp0

and you sdould get a "permission denied" message. This means you've found
it, but you're not allowed to run it.

To run it, you need to setuid the program. THIS IS A SECURITY RISK, so
evaluate your situation carefully before doing this. The comamnd is (as root)

chmod +s /usr/sbin/ifup

Try again. You may still get a "permission denied", but if you do it will be
from some other program that ifup is calling. (Without knowing the details
of tour system, I can't be sure.) It too may need to be made setuid.

At 01:57 AM 2/28/00 -0600, Mike Miller wrote:
>I'm running RH 6.1 and I'm trying to get ppp working from the
>console. As root I can run" ifup ppp0 " and connect to my ISP. If
>I try the same command as a normal  user, I get a "command not
>found" error. What do I need to do to get ifup to work for a
>normal user?


------------------------------------"Never tell me the odds!"---
Ray Olszewski                                        -- Han Solo
Palo Alto, CA                                    [EMAIL PROTECTED]        
----------------------------------------------------------------


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to