[CentOS] How to run command as apache?
neil at JAMMConsulting.com
Sun May 10 14:54:00 UTC 2009
I have a subversion repository set up in
For security, I have that directory set to
apache as the owner and group and all files
are mode 700.
I need to run a svnsync command as the apache
user so it may write to the repository.
I tried this command:
su apache -c "/usr/bin/svnsync sync
But I get this message from the su command:
This account is currently not available.
I am guessing this happens because the apache account
is set with no password and a nologin shell.
How can I run a command as the apache user?
Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com
Eliminate junk email and reclaim your inbox.
Visit http://www.spammilter.com for details.
More information about the CentOS