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

[ossig] SUID problems



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.