[CentOS] How to run command as apache?
Les Mikesell
lesmikesell at gmail.comMon May 11 03:33:01 UTC 2009
- Previous message: [CentOS] How to run command as apache?
- Next message: [CentOS] How to run command as apache?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Neil Aggarwal wrote:
> Nate:
>
> I don't want to change its shell to a valid
> shell. It should be a locked account.
>
Run your command as
su -s /bin/sh apache -c "command".
--
Les Mikesell
lesmikesell at gmail.com
- Previous message: [CentOS] How to run command as apache?
- Next message: [CentOS] How to run command as apache?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list