Nate: I don't want to change its shell to a valid shell. It should be a locked account. Neil -- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. > -----Original Message----- > From: centos-bounces@xxxxxxxxxx > [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of nate > Sent: Sunday, May 10, 2009 8:12 PM > To: centos@xxxxxxxxxx > Subject: Re: How to run command as apache? > > Neil Aggarwal wrote: > > > How can I run a command as the apache user? > > Run chsh apache and change it's shell to a valid shell. > > nate > > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos