yes, sure.
your  ppp script is able to connect you when you are root and it does not   
work when you are a normal user.
so the problem is coming from the differences between both accounts.
it could be PATH and other parameters, but it is surely again a problem   
of  rights (chmod is to be used there).

start-ppp is surely using some other scripts/programs and i am pretty   
sure one of them is not executable to non-root users.
i don't have this start-ppp script (i'm running redhat), so this is time   
to debug and twick things yourself.
edit this ppp-start script to look what it can be using.
for each script and executable verify it is useable to ordinary users   
(have a look at "chat" is it executable to ordinary users ?)

i did make it work on a slackware distrib once, but i used a different   
method: i wrote a wrapper to ppp-start which was setuid root so that all   
the commands are run as root user. maybe you could do this too [ther is a   
security issue though since if someone is able to hack you ppp scripts he   
will be granted root access to your whole computer so it must be done in   
very careful ways)

pascal

 -----Original Message-----
From: JF [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, April 20, 1999 3:06 AM
To: LENGARD Pascal           OCISI; Linux Newbie list
Subject: Re: setuid problem


Thanks Pascal for the pointer. This setuid must be some really arcane
stuff.  Well, maybe only cuz I'm a newbie to linux. Anyway, in
implementing your chmod advice the "must be root to run pppd since not
setuid-root" message went away when running start-ppp (pppd) from the
non-root user account, but it won't finish executing and won't dial.  A
modem light blinks and then nothing. When I go back to root start-ppp
(pppd) still runs just fine. I need to enable a regular user for this.

I'm sure you're right that I do need a good unix book. I have 4 linux
books so far and none have anything on setuid. So I'm still searching
for a good ref on the subject. But meanwhile, is there something else I
can do to enable the user to run start-ppp?

thanks again!

LENGARD Pascal OCISI wrote:
>
> read the PPP-HOWTO all is explaned there.
> (the command you need is chmod u+s /usr/sbin/pppd)
>
> maybe you should also read some UNIX book to understand how the user   
and
> group rights are granted.
>
> pascal
>
>  -----Original Message-----
> From: JF [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, April 15, 1999 1:59 PM
> To: [EMAIL PROTECTED]
> Subject: setuid problem
>
> Hi,
>
> I need to be able to start my ppp dialup from a non-root user account.
> When I run start-ppp as a user I get "must be root to run pppd since   
not
> setuid-root.
>
> What does this mean?  And, how can I set it up so a user can run the
> dialer?
>
> thanks,
> Jamie Faunt
> http://www.pacificnet.net/~faunt

 --
____________________________________________
The Faunt School of Creative Music
Accelerated Music Mastery
_________________________
http://www.pacificnet.net/~faunt/
phone:818-506-MUSE
fax: 818-508-0429

Reply via email to