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

Re: [ossig] SUID problems



My experience is with redhat. If mandrake keeps the redhat modifications, you 
can check the file /etc/sysconfig/network-scripts/ifcfg-ppp0
See the parameter USERCTL .. set it to "yes". User should have control.





On Monday 23 June 2003 07:30 am, 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