[Ilugc] how to run the service with non root user

  • From: vellingiri@xxxxxxxxxxxxxxx (vellingiri)
  • Date: Fri Aug 6 15:23:44 2010

Raja Subramanian wrote:

On Fri, Aug 6, 2010 at 2:43 PM, Bhargav Prasanna
<bhargavprasanna@xxxxxxxxx> wrote:
  
I'm sorry. I agree. I made my script executable before I used the
above said command. =)
So maybe a chmod +x and then a chmod u+s
    

Still won't work.  Set uid has no effect on script files.
Set uid works only on binaries

See section 5.5.3: http://docstore.mik.ua/orelly/networking/puis/ch05_05.htm
and: http://www.faqs.org/faqs/unix-faq/faq/part4/section-7.html

- Raja
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
  
hi,
    change the ownership on particular files alone. It should work.

regards,
Vellingiri S.

Other related posts: