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

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