[EMAIL PROTECTED] wrote:
>      chown root <scriptname>
>      chmod 4744 <scriptname> ( to set the user id bit of the script)
>         When you run the script it would set the effective user id to that
>      of root user so you have all the permissions of root .

I don't think this works.. you can't have suid scripts..
-- 
Anand Biligiri S ([EMAIL PROTECTED])
Member Technical Staff
Net Brahma Technologies(www.netbrahma.com),Internext Networking Software
Tel: 91.80. 552 1451                                Fax: 91.80. 553 7233

----------------------------------------------
Find out more about this and other Linux India 
mailing lists at http://lists.linux-india.org/

Reply via email to