Hi Hengky,

I assume you work on a Unix server (root).
Create a shell-script might be one of the solutions :

-r-sr-x---   1 root       apache          24576 Aug  6  1998 /dns.sh

You can put in here the exact command you want to run as root.
Make sure the file is owned by root and the group is the same as your webbrowser 
is running as. Make sure that you don't have the worldwide permissions set.
I never can remember the digits for the sticky bit, but :
chmod 550 /dns.sh; chmod u+s /dns.sh
should work as well.

I don't know if there is a real way in perl to solve this, will leave this to
the perl guru's.


Regs David
--------------------------------------
> 
> 
> i'd like to create updating dns and user and password under web.
> but i don't have suid so i cannot change the file or running binary file
> that use root permision...
> 
> can somebody help me with this...?
> 
> does anybody have a sample program that can run or edit root file...?
> 
> pls...
> 
> 
> Thx.
> 
> Hengky
> ======
> Knowledge is belong to the world
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to