[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ossig] SUID problems
Actually its more like dial-on-demand kind of feature. All my users are on
Win98 machines. They can telnet into the Linux server to initiate the
dialing. So when One person have initiated it, the other can just surf --
internet connection sharing.
I have experimenting with a solution called "alt-connect". It worked pretty
well, until recently I did something (which I can't remember what) that
broke the whole thing pretty bad. So now one of the us administrators have
to "ifup ppp0" and "ifdown ppp0" manually on request!!!
Since alt-connect is an open source project (including Windows client), I
have asked its maintainer Peter Miller for help. He is now studying the log
files for the problem. so meanwhile I want to have a temp solution. I have
done this before on MDK 8.2 before.
So thats the story behind all this. Any help...suggestions?
regards,
Venantius.
----- Original Message -----
From: "Uwe Dippel" <udippel@uniten.edu.my>
To: <ossig@mncc.com.my>
Sent: Monday, June 23, 2003 4:50 PM
Subject: 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
>
>
------------------------------------------------------------
To unsubscribe: send mail to ossig-request@mncc.com.my
with "unsubscribe ossig" in the body of the message