Wednesday, February 1, 2017

Linux: Run script as user without login shell

Source : http://serverfault.com/questions/351046/run-script-as-user-who-has-nologin-shell
su -s /bin/bash -c '/tmp/site.pl' apache