Thanks for correcting me .
     regds ,
     ID


______________________________ Reply Separator _________________________________
Subject: Re: [LIH] superuser equivalent user
Author:  Unix-User 
([EMAIL PROTECTED]@eux220.sgp.st.com) at 
intranet
Date:    1/16/01 6:58 PM


[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/


----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH

Reply via email to