< Wrap lines to 72 characters in your mailer please >

Setuid scripts are not allowed. They are a security risk and therefore
don't run as you would expect.

You might want to writ ea small C wrapper program and then setuid that
program instead.

-Naren

On Fri, 7 Dec 2001, salil gk wrote:

> Hi
> 
>   I have written a shell script as root and set the userID bit for that program. 
>What this shell will do is execute a command which root owns. My intention is other 
>users should be able to run this program if they keep this program in their path. But 
>when a user try to execute this program, it shows the permission denied error. 
>Ideally I feel it should work. Can any one tell me the reason behind this problem.
> 
> thanks
> salil
> -- 
> 
> _______________________________________________
> Sign-up for your own FREE Personalized E-mail at Mail.com
> http://www.mail.com/?sr=signup
> 
> 
> 1 cent a minute calls anywhere in the U.S.!
> 
> 
>http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com
> 
> 
> 
> _______________________________________________
> linux-india-help mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/linux-india-help
> 



_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to