[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: forcing a shell script to run a specific user?
Previously Charles Menzes (charles@lunarmedia.net):
> is there any way to force a shell script to run as a specific user despite
> who actually initiates it? i know that a chmod 4711 will do what i want on
> cgi scripts running as nobody, however, i am not certain about how this
> could work for shell scripts.
Sure.
su <specific user> <shell script>
But, the only way I know to get this to work, is start as
root.
Mark Blunier
>
> thanks -cjm
>
>
> -
> To unsubscribe, send email to majordomo@luci.org with
> "unsubscribe luci-discuss" in the body.
>
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.