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

Re: [ossig] SUID problems



Why don't you just tell us what you want to do, actually ?
I can imagine that the use of pppd is widely known and successfully
implemented, so answers should be aplenty.
Or do you invent anything new (whisper-whisper) ??
There are user-activated dialers in kde (kppp) and gnome (forgot), or
you set to dial on demand .... .?

Uwe

On Mon, 2003-06-23 at 16:14, Venantius Kumar wrote:
> Yes, pppd uses /dev/modem -> /dev/ttyS0.
> 
> But, perhaps like Imran says, scripts are not allowed to run with root ID.
> Maybe I should just write a short C programme to start this script!!
> 
> 
> regards,
> Venantius.
> 
> 
> ----- Original Message -----
> From: "Uwe Dippel" <udippel@uniten.edu.my>
> To: <ossig@mncc.com.my>
> Sent: Monday, June 23, 2003 4:09 PM
> Subject: Re: [ossig] SUID problems
> 
> 
> > Okay, firstly, the normal user doesn't need this. Spontaneously I'd
> > think this is a flaw. Of course, you might have your reasons ...
> > The 'device' is anything upstream (ttySX or whatever Mandrake calls it;
> > a FIFO might be the culprit as well - does pppd use one ??).
> >
> > HTH,
> >
> > Uwe
> >
> > On Mon, 2003-06-23 at 15:30, Venantius Kumar wrote:
> > > Hi everyone,
> > > I am having some permission problem with starting up pppd Mandrake 9.0.
> > >
> > > OK here is the situation:
> > >
> > > I wrote a script that starts a dialup connection to Jaring and another
> > > to disconnect.  As root it works fine.
> > >
> > > So next what I did was changed the script's permission by giving setting
> > > SUID bit ("u + s") and "o + rx".  When I ran the script as a normal
> > > user, it says something like "normal user does not have permission to
> > > use this device".
> > >
> > > Within my script I actually call "ifup ppp0".  Now if I am not mistaken,
> > > SUID for a programme is supposed to assume the identity of the file's
> > > owner instead of the user who initiated it.  So what can be wrong?  Is
> > > there something I may be missing?
> > >
> > > Thanks in advance.
> > >
> > >
> > > regards,
> > > Venantius.
> > >
> >
> >
> >
> > ------------------------------------------------------------
> > To unsubscribe: send mail to ossig-request@mncc.com.my
> > with "unsubscribe ossig" in the body of the message
> >
> >
> 
> 
> ------------------------------------------------------------
> To unsubscribe: send mail to ossig-request@mncc.com.my
> with "unsubscribe ossig" in the body of the message



------------------------------------------------------------
To unsubscribe: send mail to ossig-request@mncc.com.my
with "unsubscribe ossig" in the body of the message