[sudo-users] sudo without a shell or tty
Todd C. Miller
Todd.Miller at courtesan.com
Wed Dec 15 09:07:06 EST 2010
On Wed, 15 Dec 2010 11:54:42 -0200, Geraldo Luis wrote:
> I need to run a script that is in /home/user/script.sh.
> This script should be run through the apache user (using php). This User has
> no shell (/bin/false on passwd).
> Would any way to run with sudo, not that I need to shell for that user?
That should work fine as sudo runs the command directly, not via
the target user's shell.
More information about the sudo-users